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