How to identify whether a file is normal file or directory?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Why is grep called grep?
What does the “echo” command do?
In vi editor how do you execute unix commands?
What is grep r?
What is the procedure of "at" and crontab" commands?
what is difference between unix and linux?
How does the system know where one command ends and another begins?
to list a particular line in the file
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
what is the use of "grep" command?
What is the difference between udp and tcp?
How do you change your account's password?