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
Is grep faster than awk?
What is grep and how do you use it?
What does pipe () return?
What is the search command in unix?
Can you explain a little bit about command substitution?
How do I clear my terminal history?
How can we use grep command in unix?
Explain ‘library functions’ with respect to unix commands?
How do I use grep to find a file?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is pipe command in unix?
What is merge command in unix?
What is command statement?
What is awk used for?
How do you grep a case insensitive?