Question
Log in to your Linux virtual machine using your regular user account and open a terminal. At the command prompt, type ls l /dev/tty6 and
Log in to your Linux virtual machine using your regular user account and open a terminal.
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?
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?
At the command prompt, type find /dev and press Enter to list all of the filenames underneath the /dev directory. Are there many files?
Next, type du s /dev at the command prompt and press Enter. How large in kilobytes are all files within the /dev directory? Why?
At the command prompt, type cat /proc/devices | more and press Enter. Which devices and major numbers are present on your system? What character devices have a major number of 4?
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