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 first character of the output in ls l command?
What is s and g in sed command?
What are the commands in UNIX to list the files in a Directory?
how to sort the content of the file based on numeric values
What is the use of egrep command in unix?
What command is used to switching between users in unix?
What is the nmap command?
Who command in unix operating system?
Enlist some filename manipulation commands in unix.
What is sed awk grep?
Name the general commands in using unix os for a beginner?
What command is used to check the current users?
Who command in unix?
Is it inbetween or in between?
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)?