how do display only hidden files in unix?
Answer Posted / ram
In unix, hidden files are started with .
But whenever checking for hidden files, we should consider
the two extra ordinary files in evry directory.
'.' and '..'
. denotes to the present working direcory
.. denotes to the previous/parent directory
For filtering only for hidden files use
ls -la .??*
But this will consider the hidden files have length > 2.
So if a hidden file with one letter wont appear.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by unix?
What is unix structure?
Where is unix used?
What are the benefits of running processes in the background?
What is file structure in unix?
Name two paging states for a page in memory?
What is unix language?
How do I find a pattern in unix?
How the Kernel handles the fork() system call in traditional Unix and in the System V Unix, while swapping?
What are the hidden files in unix?
How to print/display the first line of a file in Unix?
Define a process group.
how to kernel protected memory?
How to create files in unix?
What are conditions for a machine to support Demand Paging?