Linux

There is never a shortage of good cheatsheets specially for Linux

Directory Listing

ls
Gemfile				app				dump.rdb			spec
Gemfile.lock

Directory Listing with hidden files

$ ls -al
total 1376
drwxr-xr-x   49 thorpeobazee  staff    1666 Sep 17 22:33 .
drwxr-xr-x   13 thorpeobazee  staff     442 Sep 17 21:06 ..
-rw-r--r--    1 thorpeobazee  staff     633 Sep  7 08:28 .babelrc
-rw-r--r--    1 thorpeobazee  staff     163 Sep 12 18:19 .eslintrc
drwxr-xr-x   16 thorpeobazee  staff     544 Sep 18 09:44 .git
-rw-r--r--    1 thorpeobazee  staff     736 Sep  7 08:28 .gitignore
drwxr-xr-x    9 thorpeobazee  staff     306 Jun  7 12:05 .idea
-rw-r--r--    1 thorpeobazee  staff      20 Sep  7 08:28 .jshintrc
-rw-r--r--    1 thorpeobazee  staff      30 Jun  5 19:35 .rspec
-rw-r--r--    1 thorpeobazee  staff     898 Jun 16 13:42 .rubocop.yml
-rw-r--r--    1 thorpeobazee  staff      14 Jun  5 19:35 .ruby-gemset
-rw-r--r--    1 thorpeobazee  staff       6 Jun  5 19:35 .ruby-version
drwxr-xr-x    5 thorpeobazee  staff     170 Sep  7 08:28 .storybook
-rw-r--r--    1 thorpeobazee  staff    2515 Sep 12 18:19 Gemfile
-rw-r--r--    1 thorpeobazee  staff   19934 Sep 12 18:19 Gemfile.lock

Change Directory

Changes directory to other_dir

cd other_dir

Show the name of the current working directory

$ pwd
/Users/mememe/projects/my_project