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...

Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...

Answer Posted / niranjan

To display filenames in direcory
1) ls -> basic command

2) echo *

3) ll -> in few unix versions u'll find this

To display only direcories :-

ls -lrt|grep ^d -> useful command if u want to display only directories:):):)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What difference between cmp and diff commands?

1352


Explain mount and unmount command.

1280


hw will u use awk in replacing cahrs and files

3298


What are filter commands in unix?

1260


Are you in or at the office?

1173


Write a command that will display files in the current directory, in a colored, long format.

1275


How do I find previous commands in unix?

1252


What does pipe () return?

1131


What is grep command in unix with examples?

1291


What is rmdir command?

1155


What are some command words?

1204


Explain the steps that a shell follows while processing a command.

1288


What is the use of egrep command in unix?

1246


What is ‘ps’ command for?

1241


What is s and g in sed command?

1165