1/16
https://davidbaumgold.com/tutorials/command-line/
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
The three standard components that make up command line syntax
Utility, flags, and arguments
Command used to view the manual documentation for a specified utility
man $UTIL
Command used to list the contents of a directory
ls $DIR
Command used to change the current working directory
cd $DIR
Command used to print the path of the current working directory
pwd
Command used to display and scroll through the contents of a file
less $FILE
Command used to copy a file from one location to another
cp $FILE $LOCATION
Command used to move a file to a new location
mv $FILE $LOCATION
Command used to permanently delete a file
rm $FILE
Command used to execute a command with elevated super user permissions
sudo $CMD
Command shortcut to navigate directly back to the home directory
cd ~
Command shortcut to move up one level to the parent directory
cd ..
Command option to list directory contents in long format with detailed information
ls -l
Command option to classify items by appending indicators (such as slashes for folders)
ls -F
Command option to display all items in a directory including hidden links
ls -a
Dangerous command that attempts to recursively delete every file on the system starting from root
sudo rm -rf /
Piece of code known as a fork bomb that recursively multiplies to exhaust system resources
:(){ :|:& };: