How do you list the files in an UNIX directory while also
showing hidden files?
Answers were Sorted based on User's Feedback
Answer / srinath.p
$ls -Ra
This command shows all the hidden files in the directory
and all of it's subdirectories.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / 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 |
Answer / upendar
ls -a
-It will give all the Files and Sub Directories including Hidden files.
ls -r
- It will give all the files in Descending or Reverse order.
| Is This Answer Correct ? | 1 Yes | 2 No |
Does cp command overwrite files?
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
What are file permissions in Unix, and how are they represented?
What is the syntax of grep command and what is its use?
What is in grep command?
What is the difference between AWK and SED commands? Plz give example and explain...
What command would users use to see what file one page at a time in UNIX?
What is the difference between Shell Programming and Shell scripting?
10 Answers HCL, TCS, Wipro,
What is the difference between pipe and xargs?
Why is shebang used?
What is the command to find maximum memory taking process on the server?
what is the difference between SED and GREP ? Which one is more better and why?