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 command is used to switching between users in unix?

1018


Which command will print your home directory on screen?

1027


Can you explain a little bit about command substitution?

1061


Which command is used to find whether the system is 32 bit or 64 bit?

1074


How do I open a port?

1030


How do I delete files from command prompt?

1146


What does the metacharacter mean?

1084


What is the difference between grep and grep?

1059


What command is used to check the current users?

1058


Explain mount and unmount command.

1139


What is ‘ps’ command for?

1131


What difference between cmp and diff commands?

1237


What is the command to compare two files in unix?

1052


What do chmod, chown, chgrp commands do?

1221


Give the command for finding the current date.

1030