# Terminal

# Commands

# cd

cd Path/To/Folder

Change your current directory to the given path.

# ls

Show a list of all the folders and files in the current directory.

# open

# Open a folder in Finder.
open Path/To/Folder

# Open a file with the default program (same as double clicking).
open Path/To/File.abc

# Open a folder or file with a specific app.
[app name] Path/To/FolderOrFile

# mkdir Path/To/NewFolderName

Creates a directory at the specified location, using the name at the end of the path.

# touch Path/To/NewFileName.abc

Creates a new file at the specified location, using the name and extension at the end of the path.

# echo anything

Repeats the input back to you.

# command && command

Do the first command, then immediately do the second.

# command >Path/To/FolderOrFile

Redirect the output of a command to a given path.