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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What command is used to check the current users?

598


Enlist some filename manipulation commands in unix.

556


Explain command to display different lines that are found when compare two files?

678


Explain mount and unmount command.

622


What is the use of cut command in unix?

696






How to find $ai_serual resolved path by using unix

1030


What does this command do? Cat food 1 > kitty

984


What is awk used for?

625


What is awk good for?

590


How do you repeat a command in terminal?

597


What does sed command do in unix?

568


What is grep command in unix with examples?

614


What is the use of tee command?

573


How to use grep command to list find the records of a file containing 10 different strings?

650


how to sort the content of the file based on numeric values

1256