Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of the command 'ls -x chapter[1-5]' ?

1269


Why is grep called grep?

1361


What is the functionality of a top command?

1161


Enumerate some of the most commonly used network commands in unix?

1216


What is sed awk grep?

1187


What is the use of egrep command in unix?

1244


Is ‘du’ a command? If so, what is its use?

1202


How do you repeat a command in terminal?

1293


Name the general commands in using unix os for a beginner?

1215


What is updatedb?

1092


How do I delete files from command prompt?

1282


What's a command word?

1247


What are the general commands in using unix os for a beginner?

1221


What are the unix commands?

1154


What do chgrp command do?

1287