Unit 1.3 - Intro to Command Line Interface Flashcards
What are some advantages of virtualization?
Sandboxing
Optimizes use of expensive hardware
Portability/easy restoration of virtual machines
What are the 2 main interfaces with operating systems?
Command Line Interface - text based
Graphic User Interface - Uses pictures and menus to display commands
What command would you use to find which path you’re currently in?
pwd
What command would you use to list the contents of the current directory?
ls
What about listing in long format?
ls -l
What about listing with hidden files?
ls -a
What is the command for copying files?
cp file1 file2
What is the command for moving or renaming a file?
mv file1 file2
What is the command to create an empty file?
touch filename
What is the command to remove a file?
rm filename
What is the command to make a directory?
mkdir directoryname
What is the command to remove a directory?
rmdir directoryname
What is sudo? Why do we use it?
Sudo is the superuser aka root. We use it to be able to run commands as the administrator.