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
Which unix command lists files/folders in alphabetical order?
Who wrote grep?
How do I open a port?
What does 'mkdir' command do in UNIX?
What is the size of time_t?
What does touch command do in unix?
What is updatedb?
Name the general commands in using unix os for a beginner?
Using unix command how to display no of records in oracle?
Explain ‘system calls’ with respect to unix commands?
Which command is used to copy files?
What is .sh file?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What command will change your prompt to myprompt?
What do chmod command do?