This is Lunix command. Just need help with command line. I will run the command
ID: 3598366 • Letter: T
Question
This is Lunix command. Just need help with command line. I will run the command line on my virtualbox to get the answers
6. What is the code name for this version of Ubuntu? Examine “/etc/os-release”.
7. Which directories are listed in “/home/”? Why is that listed?
8. What is the first directory in your “PATH”?
9. What is wrong with the setting in the previous question?
10. Run the command “uname” and, using the right options, report the kernel release. (You may want to do “uname --help” here since the man page does not seem to show the option.)
11. What version of “uname” is currently installed on the machine and who was it written by?
12. Using “/proc/partitions” tell me how many blocks are in “/dev/sda”.
13. What are the major/minor numbers for “/dev/sda”?
14. Why do sda, sda1, sda2, and … all have the same major number but different minor numbers?
15. Try to edit the “/etc/shadow” file (using nano), are you able to? Why or why not?
16. What is your user number and what is your group number?
17. What is the filesystem type for “/dev/sda1”?
18. What is “/dev/cdrom”? What are the major/minor numbers for the actual device?
19. What is the PID for “rcu_sched”? How did you find this out?
20. I’d like to know information on my available memory. What command will tell you this, and what is the total memory it reports on?
21. How many files end in “.h” in the “/usr/include” directory (only, not subdirectories)? Tell me the number and the command you used.
22. Tell me the setting for “root” in “/etc/sudoers”. You’ll have to figure out how to actually look at the file since you do not have permission.
23. Attempt to update and then upgrade the virtual machine. Provide the commands to do both. (This may take several minutes. The remaining questions require that the update/upgrade is completed.)
24. Using the “df” command with the appropriate options, determine the number of inodes allocated for “/dev/sda1”. Compare this with the previous number from the beginning of the assignment.
Explanation / Answer
6..Ubuntu is known for having the funkiest discharge code names around.From time to time clients propose potential names.To decide the code name of the framework you are running, open a terminal and utilize the order.
Codenames:
Ubuntu uses two-word codenames in the improvement of future arrivals of the Linux-based working system.While the authority Ubuntu discharges convey an adaptation number as X.YY, with the "X" speaking to the year and the "YY" connoting the period of the official discharge, the Ubuntu codenames utilize a "modifier creature" mix, or a descriptor word took after by the name of a creature, regularly one that is interesting or not too understood.
7
.Whenever you add a client to Ubuntu, either by introducing Ubuntu or physically including another client, Ubuntu makes a/home/username directory for that client with their username.The/home/username index is frequently alluded to as simply "the home directory".This page offers some data about what, precisely, this catalog is, what's kept there, and how you can utilize it.
The home directory is:
1.Where your Desktop lives.
2.Where your reports, pictures, music, recordings, sound, and basically everything else can be put aPATH.
3.Where your application settings are put aPATH, in concealed documents and catalogs (their names begin with a . ) that you ought not touch unless you comprehend what you are doing.
Eg,/home/username/.thunderbird contains your Thunderbird messages and contacts,/home/username/.mozilla contains Firefox bookmarks, passwords, history, modules…
The main place (with the rejection of removable drives and the/tmp index) inside the Ubuntu document framework where a client can openly make/change/expel records and catalogs without requiring root authorizations or the sudo summon.
8
PATH is a domain variable on Unix-like working frameworks, DOS, OS/2, and Microsoft Windows, indicating an arrangement of registries where executable projects are located.In general, each executing procedure or client session has its own particular PATH setting.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.