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 command substitution?
What is the command to view process running?
What is time_t?
What is the difference between cat and more command?
What is difference between grep and find command in unix?
Is grep faster than awk?
What command is used to check the current users?
What do chmod command do?
Explain mount and unmount command.
Can you enlist some commonly used network commands?
What is the unix command to confirm a remote host is alive or not?
What does sed command do in unix?
Can you explain a little bit about command substitution?
What are filter commands in unix?
How many unix commands are there?