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 |
what is the meaning of this command rm -rf / what will it do ?
Give command that will make the file "run.sh" executable?
how will you convert a general file to a hidden file?
How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?
who to change the duplex setting of network interface in command line
What is the difference between cat and more command?
How to display a file name which has zero bytes in size.
What are grep patterns?
distinguish between user mode and kernel mode?
Give Command that will change the name of a directly from paypal to eBay
Does cp command overwrite files?
How do you move a process which is running background to foreground?