Question

Hello, I'm new to UNIX and I am asked to use the ls –ali / command...

Hello, I'm new to UNIX and I am asked to use the ls –ali / command to review the contents of the / directory. I did that, but then I am asked to review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents, e.g.

|--home

|--lib

   |--mnt

My question is, what command can I use to document the contents of these directories? Could you please show me a screenshot of the results I am supposed to get so I know when I try it on my end that I'm on the right track?

I'd really appreciate it!

Thanks much.

Homework Answers

Answer #1

ls -ali / | tree

The above command will show the directories in a tree structure so the output of ls -ali will pass to the tree command

-a show all files
-l means long listing
-i mean to show the inode value of files and directories.

Thanks

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
please use linux/unix command terminal to complete, step 1 1-create a new directory named by inlab4...
please use linux/unix command terminal to complete, step 1 1-create a new directory named by inlab4 enter directory inlab4 create a new file named by reverse.c with the following contents and then close the file: /*reverse.c */ #include <stdio.h> reverse(char *before, char *after); main() { char str[100]; /*Buffer to hold reversed string */ reverse("cat", str); /*Reverse the string "cat" */ printf("reverse(\"cat\")=%s\n", str); /*Display result */ reverse("noon", str); /*Reverse the string "noon" */ printf("reverse(\"noon\")=%s\n", str); /*Display result */ } reverse(char *before,...
Hello, This is a multiple choice homework study question that I am having difficulty with. Although...
Hello, This is a multiple choice homework study question that I am having difficulty with. Although we have been told there is only one answer, I can see where all answers could be correct on some level but we have to determine the PRIORITY question a patient would be asked. My initial reaction would be answer C because longevity would indicate the severity of mental illness, I am really not sure Question: A patient with schizophrenia, who admits to auditory...
I did already posted this question before, I did get the answer but i am not...
I did already posted this question before, I did get the answer but i am not satisfied with the answer i did the code as a solution not the description as my solution, so i am reposting this question again. Please send me the code as my solution not the description In this project, build a simple Unix shell. The shell is the heart of the command-line interface, and thus is central to the Unix/C programming environment. Mastering use of...
Hello I am trying to complete my case study on hallucinations. I am hoping you may...
Hello I am trying to complete my case study on hallucinations. I am hoping you may assist me in refining this information. I need this to be DSM5 criteria and ICD 10. If you have any recent research avilable I would appreciate it. I have attached my document for your review. Module 4 Sam Coleman was a 25-year old U.S. Army veteran turned community college student who presented to the emergency room (ER) with his girlfriend and sister. On examination,...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT