Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Linux Assignment question Please give me the right commands not an explanaition

ID: 3699032 • Letter: L

Question

Linux Assignment question
Please give me the right commands not an explanaition of what the command is. I have added the answers to 1 and 2 but I'm not sure if they are right.
Thanks

1. Give the name of the “top” directory on a Linux machine
My answer: root? forward slash?

2. Give the name of the complete path to the user’s fred home directory.
My answer: /home/fred not sure if this is right

3. If we did not know the answer in the previous problem, what file contains this information. Make sure to give the complete path to this file.

Explanation / Answer

1. To get top irectory :

or

or

Above are different comands based on home directory. It may varies based on system.

2.complete path to the user’s fred

in above command we can give an user name, we wil get path

3.$ ls -d */

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote