Terminal commands
cd = to move into a folder
ls = to list all folders and files in current location
open = type open, then space, then file name to open a file
open -a "Sublime Text" index.html = to open a file with a specific program, type open, then space, then -a, then space, then the name of the program in quotation marks, then space, then the file name.
touch = create a new file
mkdir = create a new folder
rm = delete a file
rm -r = delete a folder and its contents
No comments:
Post a Comment