How to view the hidden files in /etc directory?
Answers were Sorted based on User's Feedback
Answer / dipayan
find /etc/* -name ".*"
will show the all hidden files in the /etc directory. All
hidden files start with "." , that's why "find" command
easily finds them.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vasu
#ls -la /etc
can get all files including hidden files.
hidden files are denoted with dot (.) prefix and
ls -a is used for hidden files.
| Is This Answer Correct ? | 1 Yes | 0 No |
Dear Subbareddy kake,
b4 giving opinion you should check urself. whatever command
u gave that will not work for this particular question.
It will display only the hidden files in the current
directory not in the /etc directory.
Plzz read the question first.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / shekar
u can use this command to see the hidden files .
$l.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna
ls -a1 /etc | grep "^\."
Will list out the hidden files in /etc!
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / subbareddy kake
Hi Shruthi,unix not ur own os.We have to follow some
rules.Here a means all,h means hidden like those commands
are wrong.pls don't mind.......
ls -a:to list all hidden files.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / shruthi
ls -lah /etc
options:
l long list
a all
h hidden
| Is This Answer Correct ? | 2 Yes | 6 No |
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
What is the function of grep command in unix?
which command is used to identify the type of the file?
Why we are using UNIX OS when we are doing the testing in our application?
Give Command that will move a single file called "unix.txt"
What are awk commands?
How many unix commands are there?
Write a command to find all of the files which have been accessed within the last 30 days.
5 Answers Google, IBM, Satyam,
How do I search for a file in unix command?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
What is the use of the tee command?
Name the unix command to find how many days the server has been up.