##Bash Basics
Bash (born again shell) is a unix shell that allows us to talk to our computer through commands.
A typical command syntax will look like command [args ...]
You'll also often see command [-options] [args ...]
-
pwd
(shows your path) -
ls
(list items) -
ls -la
(will list a lot more items -la are options) -
cd
(change into directory) -
mkdir
(make a directory) -
touch
(creates a new file) -
rm
(removes a file) -
subl
(opens sublime application) -
cp
(copies one file to another) -
mv
(moves one file to another)
*if you're ever curious about a command use the command man
followed by the command name to bring up the command's manual page
i.e. man rm
will bring up rm
's manual and man cd
will bring up cd
's manual pages
Also:
cd ..
takes you one level upcd ~/
takes you back to users/profile