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 is c shell in unix?
What are drawbacks of ssh v2?
Write a shell script that requests the user's age and then echoes it, along with some suitable comment.
What are the requirements for a swapper to work?
What are the types of unix?
What is $# in unix?
What does unix like mean?
How to remove files in unix?
What are the phases of swapping a page from the memory?
What are the four components of the unix file system?
How does the kernel differentiate device files and ordinary files?
What is the ‘nohup’ in unix?
Is unix is a programming language?
What is unix for?
What is the file in unix?