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 ?

Answers were Sorted based on User's Feedback



"ls" command is showing all the subdirectoary and files which are present in the current..

Answer / rakesh

ls -lrt | grep '^d'

Is This Answer Correct ?    0 Yes 0 No

"ls" command is showing all the subdirectoary and files which are present in the current..

Answer / shree

ls -l|grep '^d'

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

How to compare two text files in unix?

0 Answers  


Where is unix used?

0 Answers  


What is af_unix?

0 Answers  


What are the three major components of any unix system?

0 Answers  


following two file are file a file b 110 aab 330 xxl i want the output like file a fileb 110 xxl 330 aab give solution ?

3 Answers   Accenture,


What is the procedure to configure MC/SG Cluster services in HP-UX 11i v3 OS Environment?

0 Answers   IBM,


You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?

0 Answers  


Explain the term filter.

0 Answers  


How is unix different from other operating system?

0 Answers  


What is a "parameter card" and what is useful for?

1 Answers   Accenture,


What is unix used for?

0 Answers  


Explain the importance of directories in a unix system

0 Answers  


Categories