How Do You Show Hidden Files In A Linux Directory?

RegisterLogin
How Do You Show Hidden Files In A Linux Directory?
Post Description: How Do You Show Hidden Files In A Linux Directory?
Tags: How, Do, You, Show, Hidden, Files, In, A, Linux, Directory?
This Post Was Posted On Oct 08, 2009 By Webune Tutorials #2502
hello, welcome to Webune Support Forums.


today we will show you how you can display all the hidden files in linux.

lets start by starting a shell session. if you have a dedicated server with us, access your shell using ssh.

once you are in the shell. change directory to where you want to see the hidden files. in my exmample here, lets say i want to see some hidden files located in this directory: /home/myhome/secret/ so i would send this command:
SHELL COMMAND:
cd /home/myhome/secret/


then send this command to list all the files:
SHELL COMMAND:
ls


as you can see, it shows a list of all the files, now if you want to list all the files including the hiden ones then send this command:
SHELL COMMAND:
ls -la


now you can see all the files including the hidden ones

SHORTCUT:
you could have just send one command to accomplish what we did above with the following command;
SHELL COMMAND:
ls -la /home/myhome/secret/
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Wed Dec 21, 2011 1:28 am
Powered by: Webune Forums V3