Congratulations! You learned how to use the command line to view and manipulate the filesystem. What can we generalize so far?
- Options modify the behavior of commands:
ls -alists all contents of a directory, including hidden files and directories
ls -llists all contents in long format
ls -torders files and directories by the time they were last modified
- Multiple options can be used together, like
- From the command line, you can also copy, move, and remove files and directories:
mvmoves and renames files
rm -rremoves directories
- Wildcards are useful for selecting groups of files and directories
Feel free to play around with the commands you’ve learned in this lesson in the terminal to the right!
The more you practice with the command line, the more it will start to feel like home.