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 ‘ps’ command for?

1146


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

2184


How do I delete files from command prompt?

1165


What do chown command do?

1124


What is the use of finger command?

1153


What is the comma to display different lines that are found when compare two files?

1097


What is the use of the tee command?

1062


Differentiate cmp command from diff command.

1113


What are reported commands?

1084


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

1245


Why is awk called awk?

1028


What are some command words?

1095


What is a bash command?

1126


What is {} in find command?

1065


What is the command to compare two files in unix?

1061