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
- 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 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?
- 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?
- What command would you run to get detailed information about how to use the `ln` command?
- How would you find the option that causes the `ln` command to make symbolic links? What is that option?
- What steps would you take to find out what the --si option to the `ls` command does? What does it do?
- 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?
- Identify each element (command, options, arguments) of the command string `tar --create -f logs.tar /var/log/` and briefly describe what each does.
- 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?
- Give the command that will display the date and time in UTC from "1 hour ago". (Hint: use the man pages!)
- 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
