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...

Answers were Sorted based on User's Feedback



Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / bikash kumar giri

Let the directory is /a

find /a -type f -print

Is This Answer Correct ?    2 Yes 0 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / madhu

du command will list all the files in a directory with the
space used.

Is This Answer Correct ?    5 Yes 4 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / dharmajit

Echo * is the right answer 2 this question

Is This Answer Correct ?    1 Yes 0 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / guru

Hi All,

I have tried "ll" in HP-UX. It is as good as ls. But, I am
not sure how handy it is with Solatis & Linux.

Thanks,
Guru

Is This Answer Correct ?    1 Yes 0 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

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

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / yankee

Hi Dhina,

I know that my question is a bit strange, but believe me, i
too was as confused as u r seeing this question...LOL

Anywayz just wanted to know how can one add alias
for ls in linux boot files? Tell me the steps in details
plz.
Will check it out at my end if u answer this.

Is This Answer Correct ?    2 Yes 2 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / deepika dadhich

dir | grep -v ^d

Is This Answer Correct ?    6 Yes 6 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / dinesh

du -sk *

Is This Answer Correct ?    2 Yes 2 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / rocky

find . -name *.* -print

this will print all files in the current directory. For any
other directory give the full path on place of .(dot)

Is This Answer Correct ?    0 Yes 0 No

Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be..

Answer / narendra

ll
long listing (or)

echo *

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is ctrl d?

0 Answers  


solaris Run level?

3 Answers   Wipro,


What are bash commands?

0 Answers  


How would you find the size of a file or directory?

1 Answers  


distinguish between paging and swapping?

1 Answers   Infosys,


How to find and replace the below command?

2 Answers   HCL,


How do you create a directory in UNIX?

1 Answers  


Will rm -r* removes hidden files?

10 Answers  


what is the use of wild cards?

2 Answers  


what is the shell for dos,nt operating systems?

1 Answers  


Enlist some filename manipulation commands in unix.

0 Answers  


What Command is used to make a directory?

4 Answers   IBM,


Categories