Chapter 15: CLI

72 flashcards · Other · by Ian Christensen

  1. What are the primary commands for navigating in windows?

    dir cd md rd del cls copy move help exit

  2. What are the primary commands for navigating in linux?

    ls cd mkdir rmdir rm clear cp mv man exit

  3. What is the Windows command for listing a directory?

    dir

  4. What is the Linux command for listing a directory?

    ls

  5. What is the Windows command for listing a directory? ls dir cls

    dir

  6. What is the Linux command for listing a directory? mkdir dir ls

    ls

  7. What navigational commands are the same on Windows and Linux?

    cd and exit

  8. What is the Windows command for making a directory?

    mkdir

  9. What is the Linux command for making a directory?

    md

  10. What is the Windows command for making a directory? md rd mkdir

    mkdir

  11. What is the Linux command for making a directory? rmdir mkdir md

    md

  12. What is the Windows command for clearing the console?

    cls

  13. What is the Linux command for clearing the console?

    clear

  14. What is the Windows command for clearing the console? clear cls chkdsk

    cls

  15. What is the Linux command for clearing the console? cls chkdsk clear

    clear

  16. What is the Windows command for removing a directory?

    rmdir

  17. What is the Linux command for removing a directory?

    rd

  18. What is the Windows command for removing a directory? rd rmdir rm

    rmdir

  19. What is the Linux command for removing a directory? rmdir rd del

    rd

  20. What is the Windows command for deleting a directory or file?

    del

  21. What is the Linux command for deleting a directory or file?

    rm

  22. What is the Windows command for deleting a directory or file? del rm rmdir

    del

  23. What is the Linux command for deleting a directory or file? rmdir del rm

    rm

  24. What is the Windows command for copying a directory or file?

    copy

  25. What is the Linux command for deleting a directory or file?

    cp

  26. What is the Windows command for copying a directory or file? cd copy cp

    copy

  27. What is the Linux command for deleting a directory or file? copy cp cd

    cp

  28. What is the Windows command for moving a directory or file?

    move

  29. What is the Linux command for moving a directory or file?

    mv

  30. What is the Windows command for moving a directory or file? move mv md

    move

  31. What is the Linux command for moving a directory or file? md mv move

    mv

  32. What is the Windows command for listing the instructions of another command?

    help

  33. What is the Linux command for listing the instructions of another command?

    man

  34. What is the Windows command for listing the instructions of another command? man help ls

    help

  35. What is the Linux command for listing the instructions of another command? help ls man

    man

  36. What is the Windows switch for listing the instructions of another command?

    /?

  37. What is the Linux switch for listing the instructions of another command?

    -h

  38. What is the Windows switch for listing the instructions of another command? /? -h \?

    /?

  39. What is the Linux switch for listing the instructions of another command? -h /? \?

    -h

  40. What are the primary commands for disk management in windows?

    format chkdsk diskpart sfc /scannow dism /online /cleanup-image /restorehealth

  41. What are the primary commands for disk management in linux?

    dd

  42. What is xcopy?

    xcopy is the original Windows tool used to copy entire directory trees, including any files in the tree.

  43. what is robocopy?

    robocopy is an improved version of xcopy, it's faster and safer than xcopy.

  44. What Windows command is used to copy directory trees?

    xcopy

  45. What Windows command is used to copy directory trees quickly and safely?

    robocopy

  46. What are the different copy commands available on Windows?

    copy xcopy robocopy

  47. 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.

  48. What are the different copy commands available on Linux?

    cp dd

  49. What is the Windows command and switch used to shut down the computer?

    shutdown /s

  50. What is the Windows command and switch used to restart the computer?

    shutdown /r

  51. What is the Windows command to list programs and services?

    tasklist

  52. What is the Windows command to stop a program or service?

    taskkill

  53. What network commands are used on Windows?

    ipconfig gpupdate gpresult

  54. What command displays network information on Linux?

    ifconfig

  55. What are the two most important group policy commands?

    gpupdate gpresult

  56. What is the Linux command used to shutdown?

    shutdown

  57. What is the Linux command and switch used to cancel a shutdown?

    shutdown -c

  58. What is the Linux command and switch used to restart the computer?

    shutdown -r

  59. What is the Linux command and switch used to instantly shutdown the computer?

    shutdown now

  60. What is the Debian command for for accessing the application repository?

    sudo apt-get

  61. apt-get is deprecated. What can you type instead?

    sudo apt

  62. What is the Debian command for updating applications from an online repository?

    sudo apt-get update

  63. What is the Debian command for downloading applications from an online repository?

    sudo apt-get install

  64. What is the Debian command for upgrading applications from an online repository?

    sudo apt-get upgrade

  65. What is the Debian command for deleting applications from an online repository?

    sudo apt-get remove

  66. What is the Linux command to list the currently running processes and their PIDs?

    ps

  67. What is the Linux command to list the currently running processes and their PIDs with extra information?

    ps aux

  68. What is a bash pipe?

    |

  69. What is the Linux command for stopping a program or service?

    kill

  70. What is the Linux command for stopping a program or service? taskkill kill exit

    kill

  71. What is the Windows command for stopping a program or service? taskkill kill exit

    taskkill

  72. How do you give a user full control of a directory in Linux?

    icacles /grant