Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...
Answer Posted / nik
You can use find command with - type f. It will print all
the files in the current dir recursively.
Is This Answer Correct ? | 13 Yes | 6 No |
Post New Answer View All Answers
What does awk stand for?
Can you explain a little bit about command substitution?
What do chmod command do?
Write a command to display a file’s contents in various formats?
What command will change your prompt to myprompt?
What are the commands in UNIX to list the files in a Directory?
What does the metacharacter mean?
What does 'mkdir' command do in UNIX?
How does the system know where one command ends and another begins?
What is the comma to display different lines that are found when compare two files?
What does the command '$ls | wc –l > file1' do?
What does the command ' $who | sort –logfile > newfile' do?
Explain command to display different lines that are found when compare two files?
What happens when we execute a unix command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?