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 does grep v grep do?

1023


What is the function of grep command in unix?

1106


What do chmod command do?

1137


How can you see the command line history?

1076


Who command in unix operating system?

1085


What is command substitution?

1266


What is unix command line?

1178


What does pipe () return?

1023


What is the search command in unix?

1048


What is the command to compare two files in unix?

1053


What do chgrp command do?

1142


Write a command to display a file’s contents in various formats?

1149


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

2173


What is time_t?

1056


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

1140