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 nr in awk command?
Explain command to display different lines that are found when compare two files?
How do I use grep to search for a file?
Which command is used to find whether the system is 32 bit or 64 bit?
Explain mount and unmount command.
What do chown command do?
Who command in unix?
How do I run a bash script?
Which command is used to restrict incoming messages?
What's a command word?
What is unix command line?
Name the unix command to find how many days the server has been up.
What is command statement?
Who command in unix operating system?
Why is it called grep?