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 |
What command would users use to see what file one page at a time in UNIX?
Will rm -r* removes hidden files?
How do I open a port?
What is s and g in sed command?
What happens when we execute a unix command?
how to make IGNITE-BACKUP in HP-UX?
What is shrinking file system in AIX where it actually resides?
What is the basic difference between unix and windows operating systems?
43 Answers Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,
How to display a file name which has zero bytes in size.
solaris Run level?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
7 Answers Alcatel, Cisco, Infosys, University Exams,
why metadb requires a seperate slice to create Solaris volume manager