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 $0 bash?
What is the difference between cat and more command?
What is the command to find maximum memory taking process on the server?
hw will u use awk in replacing cahrs and files
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Differentiate cmp command from diff command.
What are filter commands in unix?
What is rmdir command?
What is the use of the tee command?
Which command is used to create a directory?
How do I use grep to find a file?
What difference between cmp and diff commands?
What does the metacharacter mean?
What is the functionality of a top command?
What is the general format of unix command syntax?