# Git
# Commands
Command | Action |
---|---|
cd Path/To/Folder | Change your current directory to the given path. |
ls | Show a list of all the folders in the current directory. |
open Path/To/Folder | Open a folder in Finder. |
open Path/To/File.abc | Open a file with the default program (same as double clicking). |
[app name] Path/To/FolderOrFile | Open a folder or file with a specific app. |
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. |
← Terminal