"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 / shree
ls -l|grep '^d'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do I get to my home directory in unix?
How to get the n-th field from a Unix command output?
How do you start and stop services in unix without using admin console?
What is a unix file?
What is ps1 and ps2 in unix?
What is umask in unix?
What do you understand by the term wild-card interpretation?
Is windows unix like?
What does $? Mean in unix?
Write a shell script that requests the user's age and then echoes it, along with some suitable comment.
What does cp mean in unix?
How to move files from one directory to other in unix?
How does unix operating system works?
How old is unix?
How do you kill a job in unix?