Question: What keys do you press to switch to TTY3? What command do you run to log out of your current shell? If you're already logged

  1. What keys do you press to switch to TTY3?

  1. What command do you run to log out of your current shell?

  1. If you're already logged into a shell as a non-root user, what command can you use to switch to the root user? Whose password will you have to provide?

  1. Sometimes your shell "freezes" and you can't input anything. What key combination can you press to interrupt the current process and try to get back to your prompt?

  1. What command would you run to get detailed information about how to use the `ln` command?

  1. How would you find the option that causes the `ln` command to make symbolic links? What is that option?

  1. What steps would you take to find out what the --si option to the `ls` command does? What does it do?

  1. What command would you run to discover the command to compile a C program? Using those results, what is the command to compile a C program?

  1. Identify each element (command, options, arguments) of the command string `tar --create -f logs.tar /var/log/` and briefly describe what each does.

  1. Some instructions asked you to run `Date -date Yesterday`, but it won't work. What is the correct command? Why didn't the original work?

  1. Give the command that will display the date and time in UTC from "1 hour ago". (Hint: use the man pages!)

  1. Give the command that will restart the system seven minutes from now with the message "Please save your work and log out now." (You will need to be root.) (Hint: Use the man pages!)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!