1845529 Members
181 Online
110244 Solutions
New Discussion

hidden directory

 
SOLVED
Go to solution
Basso_1
Advisor

hidden directory

how can i create a hidden directory.
that only appears with ls -a.
2 REPLIES 2
RAC_1
Honored Contributor

Re: hidden directory

mkdir .hidden
mkdir .xyz
There is no substitute to HARDWORK
saju_2
Respected Contributor
Solution

Re: hidden directory

Hi bassam

What you mean by hidden file and directory? is it the files and directories which are not visible in the ls -lr command?

You can make a hidden file by the command
touch .file (Provided you have the permission to create files in that directory)

You can make hidden directory by the command by
mkdir .dir1 (Provided you have the permission to create directory within in that directory)


Both these file and directory can be seen by ls -la command and not by ls -lrt command

Regards
CS