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
Who invented grep?
Name the general commands in using unix os for a beginner?
What difference between cmp and diff commands?
Which unix command to make a new directory?
What is the function of grep command in unix?
What is the command to view process running?
What do chgrp command do?
Which command is used to kill the last background job?
Differentiate cat command from more command.
What does this command do? Cat food 1 > kitty
What does the command ' $who | sort –logfile > newfile' do?
What is sed awk grep?
Which command is used to delete all files in the current directory and all its sub-directories?
What does 'mkdir' command do in UNIX?
What is the use of awk command in unix?