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 / pritish

echo * | tr " " "\n"
this will display all the files in the current directory
sequentially...

you can also use dir command.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is in grep command?

1216


Explain ‘system calls’ with respect to unix commands?

1158


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1329


How do you grep recursively?

1156


What command will change your prompt to myprompt?

1387


What is {} in find command?

1157


What does the command ' $who | sort –logfile > newfile' do?

1326


What is the significance of the 'tee' command?

1256


Which command is used to create a directory?

1230


Why is shebang used?

1196


What is the general format of unix command syntax?

2035


What is the functionality of a top command?

1163


what is the advaantage of each user having its own copy of the shell?

2615


What is the command to view process running?

1159


How do I find previous commands in unix?

1252