1.1 Command Line Basics
External links
Knowledge Check
- What is the command line?
- Text-based way to control your computer
- How do you open the command line on your computer?
- How can you navigate to a particular directory?
- Where will
cd
on its own navigate you to?
- Where will
cd ..
navigate you to?
- How do you display the name of the directory you are currently in?
pwd
present working directory
- How do you display the contents of the directory you are currently in?
- How do you create a new directory?
- How do you create a new file?
- How do you destroy a directory or file?
- remove a directory =
rm -r
- remove a file =
rm
- How do you rename a directory or file?
mv oldfile.txt newfile.txt