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 command substitution?

1393


Write a command to display a file’s contents in various formats?

1222


What is unix command?

1273


How to find $ai_serual resolved path by using unix

1769


How do I open a port?

1105


Describe the usage and functionality of the command rm –r * in unix?

2118


What is the command to view process running?

1124


What are reported commands?

1144


What is grep in bash?

1077


What do know about tee command and its usage?

1204


What are the differences among a system call, a library function, and a unix command?

1246


Explain ‘library functions’ with respect to unix commands?

1183


What is the pipe command?

1207


What is the nmap command?

1203


Is command prompt unix?

1168