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 does this command do,"$more readme.txt“?
What difference between cmp and diff commands?
What's a command word?
Why is grep called grep?
What is the behavioural difference between cmp and diff commands?
Why is shebang used?
What is {} in find command?
Enumerate some of the most commonly used network commands in unix?
How do I delete files from command prompt?
What do chmod command do?
How do I run a whois command?
What is the use of sed command in unix?
What is the command to find hidden files in the current directory?
Is it inbetween or in between?
What is used to type command?