Hybrids.docx - Quiz Submissions Hybrid Quiz BASH 1 Attempt...

This preview shows page 1 - 7 out of 30 pages.

Quiz Submissions - Hybrid Quiz - BASH 1 Attempt 1 Written: Oct 9, 2018 7:21 PM - Oct 9, 2018 7:25 PM Submission View Question 1 1 / 1 point What is the command used in bash shell to display the command history list? Question options: list history locate type
Question 2 1 / 1 point To clear command history, you should use command _________________.
Question 3 1 / 1 point What is the command used to re-execute the second command in the command history list in bash shell?
history -2 history -c !! !2 Question 4 1 / 1 point What environment variable is used to store the file name used to store command history in bash shell?
Question 5 1 / 1 point The command that will display the size of the command history list in bash shell? Question options: echo $HISTSIZE history size echo $PATH echo $HISTFILE
Question 6 1 / 1 point Which of the following command will search for binary, source code and manual page for cp command?
Question 7 1 / 1 point The command that will only search $PATH to locate commands in bash shell _______________.
Question 8 1 / 1 point What is root user's home directory?
/home/user /root /usr Question 9 1 / 1 point Which of the following commands that renames ~/lab3rv/suse to ~/lab3rv/suse.save? Question options: rm ~/lab3rv/suse ~/lab3rv/suse.save mv ~/lab3rv/suse ~/lab3rv/suse.save cp ~/lab3rv/suse ~/lab3rv/suse.save mkdir ~/lab3rv/suse ~/lab3rv/suse.save
Question 10 1 / 1 point The command that will shutdown the Linux system in 20 minutes ______________________.
Question 11 1 / 1 point
What is the Linux command that is used to update file's timestamp?
Question 12 1 / 1 point The command that will display all files(including hidden files) in user's home directory ___________________.
Question 13 1 / 1 point Login as the default user, what is the command used to reset root password? Question options: sudo passwd root su
password pwd Question 14 1 / 1 point Which of the following is not true about the cp command in Linux?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture