"ls" command is showing all the subdirectoary and files
which are present in the current directoary, i want to cut
only directoary name. How to cut only name ?
Answer Posted / rakesh
ls -lrt | grep '^d'
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you go to a directory in unix?
What are the devices represented in unix?
Is unix still relevant?
Explain how and when a DNS request is solved when a user tries to surf to the site www.abcdeg.in .Assume the user machine uses a local name server and sits on another network other than www.abcdef.in.
Name the data structure used to maintain file identification?
What do you mean by the protection fault?
What does cd mean in unix?
Write a shell script that requests the user's age and then echoes it, along with some suitable comment.
Is mac unix based?
What are hidden files in unix?
How to terminate a shell script if statement?
What is a shell?
Explain the different types of pathnames that are used in unix.
Differentiate between absolute and related path?
What is a unix shell?