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
What will the following command do?
Can you enlist some commonly used network commands?
how to sort the content of the file based on numeric values
Explain ‘system calls’ with respect to unix commands?
What are the unix commands?
Which command should you use to find the remaining disk space in unix server?
What does the command '$ls | wc –l > file1' do?
What is updatedb?
What is the significance of the 'tee' command?
What is the pipe command?
What does this command do? Cat food 1 > kitty
What are file commands?
What is a bash command?
What command is used to check the current users?
Explain the steps that a shell follows while processing a command.