Skip to content

Instantly share code, notes, and snippets.

@rnz269
Forked from wrburgess/intro_to_the_console.md
Last active January 26, 2017 01:41
Show Gist options
  • Save rnz269/58eeed8238769115569901191c02b5ad to your computer and use it in GitHub Desktop.
Save rnz269/58eeed8238769115569901191c02b5ad to your computer and use it in GitHub Desktop.
Intro to the Console

Intro to the Console for Rahul

  • cd (changes directory)

  • cd ~ (changes to home directory)

  • cd .. (moves up one directory)

  • ls (lists files in folder)

  • pwd (shows current directory)

  • mkdir <FOLDERNAME> (creates new directory)

  • touch <FILENAME> (creates a file)

  • rm <FILENAME> (deletes file)

  • rm -r <FOLDERNAME> (deletes a folder, note the -r)

  • open . (opens the current folder. MAC SPECIFIC)

  • open <FILENAME> (opens a specific file. MAC SPECIFIC)

  • explorer <FILENAME> (opens the specific file. BASH SPECIFIC)

  • explorer . (opens the current folder. BASH SPECIFIC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment