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 |
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
What are the commands in UNIX to list the files in a Directory?
Explain command to show the space allocation of files?
If JFS file system is 100% full how we can increase the file system ?
how unix kernel distinguishes between a normal file and device file ?
7 Answers Google, IBM, McAfee, Vodafone,
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
what do you understand by 'building block primitive'?
How many unix commands are there?
How do you find out all processes that are currently running in UNIX OS?
Which command will print your home directory on screen?
solaris Run level?
What is the difference between udp and tcp?