Question: 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

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!