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
hw will u use awk in replacing cahrs and files
What is the command to find hidden files in the current directory?
What does #!/ Bin sh do?
What does this command do,"$more readme.txt“?
What do chmod, chown, chgrp commands do?
Which command is used to delete all files in the current directory and all its sub-directories?
Which unix command lists files/folders in alphabetical order?
Why is awk called awk?
Does cp command overwrite files?
What are some command words?
Which command is used to create a directory?
How do I delete files from command prompt?
Are you in or at the office?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What is grep command in unix with examples?