Answered step by step
Verified Expert Solution
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 devtty and press Enter. What device does devtty represent? Is this file a block or character device file? Why? What are the major and minor numbers for this file?
At the command prompt, type rm f devtty and press Enter. Next, type ls l devtty at the command prompt and press Enter. Was the file removed successfully?
Switch to tty by pressing CtrlAltF and attempt to log in to the terminal using the user name of root and the password of LINUXrocks!. Were you successful?
Switch back to tty by pressing CtrlAltF type the command mknod devtty c at the command prompt, and press Enter. What did this command do Next, type ls l devtty at the command prompt and press Enter. Was the file recreated successfully?
Switch back to tty by pressing CtrlAltF and log in to the terminal using the user name of root and the password of LINUXrocks!. Why were you successful?
At the command prompt, type ls l devtty 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?
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started