Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

"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


Please Help Members By Posting Answers For Below Questions

How do I get to my home directory in unix?

897


How to get the n-th field from a Unix command output?

927


How do you start and stop services in unix without using admin console?

1000


What is a unix file?

910


What is ps1 and ps2 in unix?

921


What is umask in unix?

869


What do you understand by the term wild-card interpretation?

849


Is windows unix like?

949


What does $? Mean in unix?

876


Write a shell script that requests the user's age and then echoes it, along with some suitable comment.

1373


What does cp mean in unix?

807


How to move files from one directory to other in unix?

896


How does unix operating system works?

907


How old is unix?

863


How do you kill a job in unix?

940