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

Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

943


What are bash commands?

833


What is the use of sed command in unix?

883


Who wrote grep?

793


What is grep short for?

782


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

885


What command will change your prompt to myprompt?

952


Explain command to view process running?

850


What is time_t?

810


How do I open a port?

795


What do know about tee command?

885


What is the functionality of a top command?

870


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1244


What is grep and how do you use it?

820


What is rmdir command?

826