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

What is the comma to show the space allocation of files?

1084


What is the unix command to confirm a remote host is alive or not?

1212


What are filter commands in unix?

1188


How can you see the command line history?

1136


What is the nmap command?

1179


What is a bash command?

1173


What is the use of finger command?

1207


What is in grep command?

1164


What is the use of egrep command in unix?

1181


Which command is used to create a directory?

1162


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1312


What is the size of time_t?

1208


Who wrote grep?

1061


What are grep patterns?

1080


Who command in unix operating system?

1133