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

Are you in or at the office?

706


What does grep v grep do?

637


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

759


What is a command and examples?

677


Why is it called a shebang?

677






Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

883


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

639


What is the command to view process running?

673


What is ctrl d?

684


Who wrote grep?

658


What does find command return in unix?

689


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

892


What is the difference between cat and more command?

759


What is the use of the tee command?

689


What is grep command in unix with examples?

685