How to view the hidden files in /etc directory?

Answers were Sorted based on User's Feedback



How to view the hidden files in /etc directory?..

Answer / srinath.p

$ls -Ra

Is This Answer Correct ?    7 Yes 0 No

How to view the hidden files in /etc directory?..

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

How to view the hidden files in /etc directory?..

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

How to view the hidden files in /etc directory?..

Answer / souri

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

How to view the hidden files in /etc directory?..

Answer / shekar

u can use this command to see the hidden files .
$l.

Is This Answer Correct ?    0 Yes 0 No

How to view the hidden files in /etc directory?..

Answer / durgesh srivastava

ls -a|grep /etc using

Is This Answer Correct ?    0 Yes 0 No

How to view the hidden files in /etc directory?..

Answer / krishna

ls -a1 /etc | grep "^\."

Will list out the hidden files in /etc!

Is This Answer Correct ?    0 Yes 0 No

How to view the hidden files in /etc directory?..

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

How to view the hidden files in /etc directory?..

Answer / shruthi

ls -lah /etc

options:
l long list
a all
h hidden

Is This Answer Correct ?    2 Yes 6 No

How to view the hidden files in /etc directory?..

Answer / navin

ls -.a

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Unix Commands Interview Questions

write grep commands to select the lines that have exactly two characters

8 Answers   PSI Data Systems,


how to change a normal file into hidden file

3 Answers  


who to change the duplex setting of network interface in command line

1 Answers  


What is the use of egrep command in unix?

0 Answers  


What is the use of pipes?

4 Answers  






What command a user use to view a long text file one page at a time in UNIX?

8 Answers   IBM,


What is grep and how do you use it?

0 Answers  


How do I search for text in vi?

0 Answers  


Which is the command used to find out currently executing Process in UNIX?

6 Answers   Amazon,


How do you execute a UNIX command in the background?

6 Answers  


What does #!/ Bin sh do?

0 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

5 Answers   Google, IBM, Satyam,


Categories