How do you list the files in an UNIX directory while also
showing hidden files?
Answer Posted / suchitra
ls-a
will give all the files including hidden files
ls-R
which will give u the sub directories in the current
directory
hence to list both the subdirectories and the hidden file
list give
ls-aR
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Why is shebang used?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How does shebang work?
How can you see the command line history?
What is the significance of the 'tee' command?
What is unix command?
What does the command '$ls | wc –l > file1' do?
What is {} in find command?
What is awk command used for?
How do I clear my terminal history?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Are you in or at the office?
What are the general commands in using unix os for a beginner?
What is the comma to display different lines that are found when compare two files?
What does find command return in unix?