Here are some common terminal commands that will help you complete the tasks:
| Command | Description | Example |
|---|---|---|
| cd | Change directory | cd Documents |
| ls | List files and directories | ls -a (show hidden files) |
| pwd | Print working directory | pwd |
| mkdir | Make directory | mkdir new_folder |
| touch | Create an empty file | touch file.txt |
| rm | Remove files or directories | rm file.txt, rm -r folder |
| mv | Move or rename files | mv file.txt folder/ |
| cp | Copy files or directories | cp file.txt folder/ |
| cat | Display file contents | cat file.txt |
| grep | Search for patterns in files | grep "word" file.txt |
You have successfully completed the Terminal Command Trainer!
You have learned the essential command-line skills that will help you navigate and work with files and directories efficiently.