how unix kernel distinguishes between a normal file and
device file ?
Answer Posted / asif
Guest,
You are right about the 'ls' command, but 'ls' is a user
level command, which invokes (among others) read system
call to read and display directory contents (file/ dir
names in a directory). Ultimately kernel parses inode of
each file to get its type.
Rgds,
asif
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the use of cut command in unix?
How to use grep command to list find the records of a file containing 10 different strings?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is “chmod” command?
Is ‘du’ a command? If so, what is its use?
why metadb requires a seperate slice to create Solaris volume manager
What is grep and how do you use it?
How do I search for a file in unix command?
what is the advaantage of each user having its own copy of the shell?
What is rmdir command?
How does pipe () work?
What's a command word?
How do I use grep to find a file?
What does touch command do in unix?
Why is it called a shebang?