How to identify whether a file is normal file or directory?
Answer Posted / srinath.p
$ls -l filename/directoryname
if the first digit is - then it is file,if it is d then it
is directory
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What do know about tee command?
What is the significance of the 'tee' command?
What is the difference between cat and more command?
What is “chmod” command?
What is $0 bash?
What is the size of time_t?
What is the difference between cat command and more command?
Why is shebang used?
Why is awk called awk?
What is grep r?
Explain mount and unmount command.
Which command will print your home directory on screen?
What is {} in find command?
What is the command to find maximum memory taking process on the server?
What is the difference between awk and grep?