how unix kernel distinguishes between a normal file and
device file ?
Answer Posted / manasi mishra
for normal file in the ls -l listing there is a '-' as
first character like '-rw-r--r- '.
-rw-r--r-- 1 batch sybase 0 Dec 4 14:50 test1
This identifies it as normal file.
But for device files , they are saved as character or else
blocks . So the first letter is 'c' for character , and 'b'
for blocks.
| Is This Answer Correct ? | 20 Yes | 0 No |
Post New Answer View All Answers
What is the use of the command 'ls -x chapter[1-5]' ?
Why is grep called grep?
What is the functionality of a top command?
Enumerate some of the most commonly used network commands in unix?
What is sed awk grep?
What is the use of egrep command in unix?
Is ‘du’ a command? If so, what is its use?
How do you repeat a command in terminal?
Name the general commands in using unix os for a beginner?
What is updatedb?
How do I delete files from command prompt?
What's a command word?
What are the general commands in using unix os for a beginner?
What are the unix commands?
What do chgrp command do?