Title | Written Assignment Unit 4 |
---|---|
Author | Nyanyukweni Linus |
Course | Operating Systems 2 (proctored course) |
Institution | University of the People |
Pages | 3 |
File Size | 328.1 KB |
File Type | |
Total Downloads | 44 |
Total Views | 136 |
This is asssignment for operating system 2, you can get some few point to answer the instructor assignment....
Written Assignment Unit 4 1. Type the following command and list and describe the output Lsblk
This command displays data for all available block drives or a specific block device (s). (Linux man page - lsblk(8), n.d.) The lsblk command gathers information from the sysfs filesystem before printing all block devices (excluding RAM drives) in a tree-like style.
2. From the information gathered in the first command output the contents of the disk scheduler for one of your disks using the cat command cat /sys/block//queue/scheduler
The command is used to display the scheduler for Kali Linux Virtual box, however I receive no such file directory when I run it on linux. Output: There are no such files or directories.
3. find the fstab configuration file using the find command. Show your command and the output.
Well, the fstab command is used to locate the operating system file system table, but when I ran it, I got nothing, so I assume it's because I'm using Oracle Virtual Box to run a virtual Linux OS.
4. run the following commands and explain the output Df - reports file system disk space usage
du-h - This command estimates file space utilization in a readable manners.
5. run the following command and explain the output lspci –nn
This command provides information on the system PCI buses and the devices linked to them. The -nn switch includes the PCI vendor and device codes as both numbers and names in the output (Linux man page - lspci(8), n.d.). Con Concl cl clusi usi usion on These commands highlight how powerful the Linux shell, as well as many other current operating systems' command shells, are for interacting with the file system. It gives us access to data on files and systems, disk space utilization, PCI devices, input and output schedules, and drive contents. Refe Refere re renc nc nce es lsblk(8 (n.d /8/ls lsblk(8 k(8)) Li Linu nu nuxx m ma an pa page ge (n.d n.d..). R Ret et etrie rie rieved ved fro from m https tps:/ :/ ://lin /lin /linux ux ux.d .d .die. ie. ie.ne ne net/ t/ t/ma ma man n/8/ls /lsblk blk Sho Shotts tts tts,, W W.. E E.. (20 (2013 13 13). ). T The he Linu inuxx C Com om omm mand L Lin in ine e (2 (2nd nd ed ed.). .). Re Retri tri trie eved ffro ro rom: m: http http:://so //sou urce rcefo fo forge rge rge.n .n .net et et/p /p /prroje ojects cts cts/li /li /linu nu nuxco xco xcom mman and/ d/ d/fi fi files les les/T /T /TLC LC LCL L/13 /13.0 .0 .07/T 7/T 7/TL LCL-1 CL-13 3.0 .07. 7. 7.pdf pdf pdf/d /d /dow ow ownl nl nload oad...