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 does the metacharacter mean?
What is the comma to display different lines that are found when compare two files?
What do chgrp command do?
What is in grep command?
What do chmod, chown, chgrp commands do?
Describe the usage and functionality of the command rm –r * in unix?
What is command substitution?
What is {} in find command?
What is grep in bash?
What is rmdir command?
Does cp command overwrite files?
What is a command and examples?
Write a command that will display files in the current directory, in a colored, long format.
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What does the command ' $who | sort –logfile > newfile' do?