Project 5 b.docx - Project 5-1 In this hands-on project you view and create device files 1{check Boot your Fedora Linux virtual machine After your Linux

Project 5 b.docx - Project 5-1 In this hands-on project you...

This preview shows page 1 - 2 out of 5 pages.

Project 5-1In this hands-on project, you view and create device files. 1 {check}Boot your Fedora Linux virtual machine. After your Linux system has loaded, switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5. Log in to the terminal using the user name of root and the password of LINUXrocks!2 This is a character device file, Because there is a C in front of the Chmod sequence. The major number is 4 and the minor number is 6At 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 No, it was not removed. Permission was denied.At the command prompt, type rm –f /dev/tty6 and press Enter. Next, type ls –l /dev/tty6 the command prompt and press Enter. Was the file removed successfully? 4Yes, I was able to successfully log-inSwitch 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? 5This command let me know that the file exist. Yes, the file was recreated successfully.Switch back to tty5 by pressing Ctrl+Alt+F5, type the command mknod /dev/tty6 c 4 6 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 Because I log in previously.Switch back to tty6 by pressing Ctrl+Alt+F6 and log in to the terminal using the user name of root the password of LINUXrocks!. Why were you successful? . at and 7 The major is similar for all these files. The major is the same. The minor is different for each file. The reason for it being different is so that we can differentiate which files belong where. At the command prompt, type ls –l /dev/tty? and press

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture