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 / asif

Guest,

You are right about the 'ls' command, but 'ls' is a user
level command, which invokes (among others) read system
call to read and display directory contents (file/ dir
names in a directory). Ultimately kernel parses inode of
each file to get its type.

Rgds,
asif

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who invented grep?

1126


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

1106


What difference between cmp and diff commands?

1264


Which unix command to make a new directory?

1086


What is the function of grep command in unix?

1123


What is the command to view process running?

1079


What do chgrp command do?

1164


Which command is used to kill the last background job?

1303


Differentiate cat command from more command.

1099


What does this command do? Cat food 1 > kitty

1542


What does the command ' $who | sort –logfile > newfile' do?

1250


What is sed awk grep?

1084


Which command is used to delete all files in the current directory and all its sub-directories?

1227


What does 'mkdir' command do in UNIX?

1271


What is the use of awk command in unix?

1087