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 command substitution?
Write a command to display a file’s contents in various formats?
What is unix command?
How to find $ai_serual resolved path by using unix
How do I open a port?
Describe the usage and functionality of the command rm –r * in unix?
What is the command to view process running?
What are reported commands?
What is grep in bash?
What do know about tee command and its usage?
What are the differences among a system call, a library function, and a unix command?
Explain ‘library functions’ with respect to unix commands?
What is the pipe command?
What is the nmap command?
Is command prompt unix?