Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

At the command prompt, type ls l / dev / tty 6 and press Enter. What device does / dev / tty 6 represent? Is

At the command prompt, type ls l /dev/tty6 and press Enter. What device does /dev/tty6 represent? Is this file a block or character device file? Why? What are the major and minor numbers for this file?
3
At the command prompt, type rm f /dev/tty6 and press Enter. Next, type ls l /dev/tty6 at the command prompt and press Enter. Was the file removed successfully?
4
Switch to tty6 by pressing Ctrl+Alt+F6 and attempt to log in to the terminal using the user name of root and the password of LINUXrocks!. Were you successful?
5
Switch back to tty5 by pressing Ctrl+Alt+F5, type the command mknod /dev/tty6 c 46 at the command prompt, and press Enter. What did this command do? Next, type ls l /dev/tty6 at the command prompt and press Enter. Was the file re-created successfully?
6
Switch back to tty6 by pressing Ctrl+Alt+F6 and log in to the terminal using the user name of root and the password of LINUXrocks!. Why were you successful?
7
At the command prompt, type ls l /dev/tty? and press Enter. What is similar about all of these files? Is the major number different for each file? Is the minor number different for each file? Why?
8
At the command prompt, type find /dev and press Enter to list all of the filenames under the /dev directory. Are there many files? Next, type du hs /dev at the command prompt and press Enter. How large in KB are all files within the /dev directory? Why?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

The models used to analyse different national cultures.

Answered: 1 week ago

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago