How to identify whether a file is normal file or directory?
Answer Posted / subbareddy kake
By using file command or
First list the all files by using ls -lrt.you will
following type format.
drwxr--r--
-rwxr--r--
so first one directory second one file only
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between awk and grep?
What is the use of find command in unix?
Which command will print your home directory on screen?
What is sed awk grep?
What is updatedb?
What is “chmod” command?
What do chgrp command do?
How do I open a port?
Why is shebang used?
How can we use grep command in unix?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What are reported commands?
What is ‘ps’ command for?
What is the command to find maximum memory taking process on the server?
What is used to type command?