how unix kernel distinguishes between a normal file and
device file ?

Answer Posted / guest

while listing the file names by ls-l command we get hyphen
is the first character that shows it is a normal file and
if we d instead of hyphen(-) that is device file

Is This Answer Correct ?    6 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep and how do you use it?

579


What command will change your prompt to myprompt?

706


Explain how to use grep command to list find the records of a file containing 10 different strings?

594


What does pipe () return?

597


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

827






Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

645


What is {} in find command?

584


What is the behavioural difference between cmp and diff commands?

677


What is the use of finger command?

601


How do I search for a file in unix command?

549


How to use grep command to list find the records of a file containing 10 different strings?

647


How to display no of records in oracle using unix command?

589


How do I run a whois command?

605


What does awk stand for?

615


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

562