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

Explain ‘system calls’ with respect to unix commands?

1099


What are reported commands?

1136


What is the use of the command 'ls -x chapter[1-5]' ?

1216


Enlist some filename manipulation commands in unix.

1162


What is the size of time_t?

1220


Who command in unix?

1147


What is the comma to show the space allocation of files?

1095


What is a bash command?

1186


What is grep short for?

1051


Why is grep called grep?

1306


What are the differences among a system call, a library function, and a unix command?

1233


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1409


How does the system know where one command ends and another begins?

2259


Which unix command lists files/folders in alphabetical order?

1765


What does pipe () return?

1080