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

Answer Posted / kishore devkate

Hi Yankee,

There are so many commands to display the files in the
present working directory without using ls command, find
the below commands,

echo *
dir
du -sk *

....etc
but we have to think logical how to view the file without
using ls.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you see the command line history?

588


What does the md command do?

578


How do I run a bash script?

588


What do chmod, chown, chgrp commands do?

641


What is grep r?

596






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

631


What is the first character of the output in ls l command?

637


How to display no of records in oracle using unix command?

591


What is in grep command?

652


How does pipe () work?

599


What difference between cmp and diff commands?

729


What are bash commands?

601


What is command statement?

543


Can you enlist some commonly used network commands?

604


Explain ‘system calls’ with respect to unix commands?

606