Terminal Vocabulary Flashcards
(8 cards)
What is pwd?
Print Working Directory. Shows your full path of current location in files.
What is cd?
Change Directory. Allows you to move to a different DIRECTORY. (ex: cd .. = moves back one directory. cd / = back to first directory. cd Documents = moves to Documents)
What is touch?
Create new FILE. (ex: touch newfile.txt)
What is mkdir?
Create new DIRECTORY. (ex: mkdir NewFolder)
What is clear?
Clears your terminal screen. This does not delete anything.
What is ls?
List. Displays all files and directories. (current directory or not)
What is rm?
Remove File / Directory. (for files: rm newfile.txt. for directories: rm -r NewFolder) (also asks for confirmation)
What is rm -rf?
Same as rm, Remove File / Directory, however, does not ask for confirmation. Immediately forcefully deletes.