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 unix command?
How to find $ai_serual resolved path by using unix
What does grep v do?
What does this command do? Cat food 1 > kitty
Explain command to show the space allocation of files?
Which command will print your home directory on screen?
What is nr in awk command?
What does the metacharacter mean?
How do you repeat a command in terminal?
How to use grep command to list find the records of a file containing 10 different strings?
What command is used to switching between users in unix?
What does the command '$ls | wc –l > file1' do?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What are the unix commands?
Does cp command overwrite files?