Chapter 15: CLI
72 flashcards · Other · by Ian Christensen
What are the primary commands for navigating in windows?
dir cd md rd del cls copy move help exit
What are the primary commands for navigating in linux?
ls cd mkdir rmdir rm clear cp mv man exit
What is the Windows command for listing a directory?
dir
What is the Linux command for listing a directory?
ls
What is the Windows command for listing a directory? ls dir cls
dir
What is the Linux command for listing a directory? mkdir dir ls
ls
What navigational commands are the same on Windows and Linux?
cd and exit
What is the Windows command for making a directory?
mkdir
What is the Linux command for making a directory?
md
What is the Windows command for making a directory? md rd mkdir
mkdir
What is the Linux command for making a directory? rmdir mkdir md
md
What is the Windows command for clearing the console?
cls
What is the Linux command for clearing the console?
clear
What is the Windows command for clearing the console? clear cls chkdsk
cls
What is the Linux command for clearing the console? cls chkdsk clear
clear
What is the Windows command for removing a directory?
rmdir
What is the Linux command for removing a directory?
rd
What is the Windows command for removing a directory? rd rmdir rm
rmdir
What is the Linux command for removing a directory? rmdir rd del
rd
What is the Windows command for deleting a directory or file?
del
What is the Linux command for deleting a directory or file?
rm
What is the Windows command for deleting a directory or file? del rm rmdir
del
What is the Linux command for deleting a directory or file? rmdir del rm
rm
What is the Windows command for copying a directory or file?
copy
What is the Linux command for deleting a directory or file?
cp
What is the Windows command for copying a directory or file? cd copy cp
copy
What is the Linux command for deleting a directory or file? copy cp cd
cp
What is the Windows command for moving a directory or file?
move
What is the Linux command for moving a directory or file?
mv
What is the Windows command for moving a directory or file? move mv md
move
What is the Linux command for moving a directory or file? md mv move
mv
What is the Windows command for listing the instructions of another command?
help
What is the Linux command for listing the instructions of another command?
man
What is the Windows command for listing the instructions of another command? man help ls
help
What is the Linux command for listing the instructions of another command? help ls man
man
What is the Windows switch for listing the instructions of another command?
/?
What is the Linux switch for listing the instructions of another command?
-h
What is the Windows switch for listing the instructions of another command? /? -h \?
/?
What is the Linux switch for listing the instructions of another command? -h /? \?
-h
What are the primary commands for disk management in windows?
format chkdsk diskpart sfc /scannow dism /online /cleanup-image /restorehealth
What are the primary commands for disk management in linux?
dd
What is xcopy?
xcopy is the original Windows tool used to copy entire directory trees, including any files in the tree.
what is robocopy?
robocopy is an improved version of xcopy, it's faster and safer than xcopy.
What Windows command is used to copy directory trees?
xcopy
What Windows command is used to copy directory trees quickly and safely?
robocopy
What are the different copy commands available on Windows?
copy xcopy robocopy
What is the dd command on Linux?
The Unix command for copying a file bit for bit, the command is most often used to copy partitions or creating .img files.
What are the different copy commands available on Linux?
cp dd
What is the Windows command and switch used to shut down the computer?
shutdown /s
What is the Windows command and switch used to restart the computer?
shutdown /r
What is the Windows command to list programs and services?
tasklist
What is the Windows command to stop a program or service?
taskkill
What network commands are used on Windows?
ipconfig gpupdate gpresult
What command displays network information on Linux?
ifconfig
What are the two most important group policy commands?
gpupdate gpresult
What is the Linux command used to shutdown?
shutdown
What is the Linux command and switch used to cancel a shutdown?
shutdown -c
What is the Linux command and switch used to restart the computer?
shutdown -r
What is the Linux command and switch used to instantly shutdown the computer?
shutdown now
What is the Debian command for for accessing the application repository?
sudo apt-get
apt-get is deprecated. What can you type instead?
sudo apt
What is the Debian command for updating applications from an online repository?
sudo apt-get update
What is the Debian command for downloading applications from an online repository?
sudo apt-get install
What is the Debian command for upgrading applications from an online repository?
sudo apt-get upgrade
What is the Debian command for deleting applications from an online repository?
sudo apt-get remove
What is the Linux command to list the currently running processes and their PIDs?
ps
What is the Linux command to list the currently running processes and their PIDs with extra information?
ps aux
What is a bash pipe?
|
What is the Linux command for stopping a program or service?
kill
What is the Linux command for stopping a program or service? taskkill kill exit
kill
What is the Windows command for stopping a program or service? taskkill kill exit
taskkill
How do you give a user full control of a directory in Linux?
icacles /grant