Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...
Answer Posted / 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 |
Post New Answer View All Answers
What does awk stand for?
What are bash commands?
Which command should you use to find the remaining disk space in unix server?
What does #!/ Bin sh do?
Who wrote grep?
What do chgrp command do?
What are the general commands in using unix os for a beginner?
What is rmdir command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does find command return in unix?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Are you in or at the office?
What do chmod, chown, chgrp commands do?
What is the use of the command 'ls -x chapter[1-5]' ?
Which command will print your home directory on screen?