Skip to content

Instantly share code, notes, and snippets.

@wrburgess
Last active December 26, 2019 05:12
Show Gist options
  • Save wrburgess/10e7a7482b580325605183d03e422fa4 to your computer and use it in GitHub Desktop.
Save wrburgess/10e7a7482b580325605183d03e422fa4 to your computer and use it in GitHub Desktop.
Intro to the Console

Intro to the Console for Randy

  • 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