🌱 Learn the Command Line the Hard Way

Source

http://www.gnu.org/software/bash/manual/bashref.html

pwd : print working directory

hostname : my computer’s network name

mkdir : make directory

cd : change directory

ls : list directory

rmdir : remove directory

pushd : push directory

popd : pop directory

cp : copy a file or directory

mv : move a file or directory

less : page through a file

cat : print the whole file

xargs : execute arguments

find : find files

grep : find things inside files

man : read a manual page

apropos : find what man page is appropriate

env : look at your environment

echo : print some arguments

export : export/set a new environment variable

exit : exit the shell

sudo : DANGER! become super user root DANGER!

chmod : change permission modifiers

chown : change ownership

find : find STARTDIR -name WILDCARD -print

| : The | takes the output from the command on the left, and “pipes” it to the command on the right.

< : The < will take and send the input from the file on the right to the program on the left.

: The > takes the output of the command on the left, then writes it to the file on the right.

: The >> takes the output of the command on the left, then appends it to the file on the right.

  • : matches anything in a wildcard
Made by Brandon . If you find this project useful you can donate.