Skip to content

Instantly share code, notes, and snippets.

@JQL
Last active August 25, 2018 10:48
Show Gist options
  • Save JQL/462515891825476fcf176539cf662ed6 to your computer and use it in GitHub Desktop.
Save JQL/462515891825476fcf176539cf662ed6 to your computer and use it in GitHub Desktop.
Some of the basic Linux Terminal commands
Basic Terminal Commands
A run through of some of the basic Terminal commands. Remember Linux is case sensitive so "hello" is not the same as "Hello".
You may be used to using the term "Folder". The terms Directory and Folder are interchangable.
COMMANDS & LINKS:
CTRL + ALT + T : Launch Terminal
whoami : Who you are logged in as
w : Who is logged in and/or online
pwd : Current working directory
whereis : Possible locations of a file or directory
which : Which application will be run by default
apropos "subject" : List the Manual pages for the "subject"
man "command" : Show the manual for the "command"
cd "directory" : change to the "directory"
ls : List the current directory. You can also pass the name of the directory (e.g. -alh ls /var/log)
touch "filename" : Creates or replaces a file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment