NDG Linux Unhatched Assessment Home Question 1What does CLI stand for?Core Line InterfaceCore Learning InterfaceCommand Learning InterfaceCommand Line InterfaceQuestion 2When entering a command, do arguments or options typically come first?OptionsArgumentsQuestion 3Which of the following is not a correct way to combine options?-lr-r l-l -r-rlQuestion 4Which command will print your current location in the filesystem?pwdcdpdpclQuestion 5Which command will allow you to change your current directory?chchdircdlsQuestion 6Which of the following is not an example of an absolute path?/home/sysadminDocuments/Question 7Which of the following is not an example of a relative path?/homeDocumentsDocuments/Workhome/sysadmin/Documents/School/ArtQuestion 8The .. (double period) characters are used to represent:The current directoryA user's home directoryThe directory above the current directoryNothing, it doesn't have a specialQuestion 9The . (period) character is used to represent:Nothing, it doesn't have a special meaningThe current directoryA user's home directoryThe directory above the current directoryQuestion 10Which of the following sets has the group permissions highlighted?rw-rw-r--rw-rw-r--rw-rw-r--rw-rw-r--Question 11Which of the following permission sets indicates that others have only the read permission?rwxrw-r-xr--r--r-xrw-r--rwxrw-rw-r--Question 12Which of the following commands is used to change the ownership of a file?chpermchmodchowchownQuestion 13Which of the following commands can be used to rename a file?rnmvnamecpQuestion 14Which command can be used to copy a file?cpcyrmmvQuestion 15The cp command requires at least two arguments.True or False?TrueFalseQuestion 16Which command is used to copy files at the bit level?ddcpQuestion 17The rm command requires at least two arguments.True or False?TrueFalseQuestion 18Which option to the rm command will allow a user to delete directories?-a-d-l-rQuestion 19Which of the following commands is used to filter text?greptextregexddQuestion 20Which of the following lines would be not returned by the grep '[^0-9]' file.txt command?3121991I am 37 years old.My favorite food is avocados.Hello my name is Joe.Question 21Which of the following commands will not shutdown the system immediately?shutdownshutdown nowshutdown now 'Goodbye World!'shutdown +0Question 22Which of the following commands will display every process?ps -eps --allpsps -aQuestion 23The ps command requires administrative access.True or False?TrueFalseQuestion 24Which of the following commands will update all packages?apt-get installapt-get searchapt-get updateapt-get upgradeQuestion 25Which of the following will delete all of a package's files?apt-get trashapt-get removeapt-get purgeapt-get deleteQuestion 26Which of the following commands should be executed before installing a package?apt-get upgradeapt-get updateapt-get installapt-get searchQuestion 27The root user can change the password of any user.True or False?TrueFalseQuestion 28Which of the following commands can be used to print output to the terminal?cplschmodechoQuestion 29The > character is used for which of the following file descriptors?STDERRSTDINSTDOUTQuestion 30Which of the following commands will display the last five lines of a file called file1.txt?(choose two)tail -n 5 file1.txthead -n 5 file1.txttail file1.txttail -5 file1.txt Share this :