Related differences

Linux vs Unix

Ques 16. How does the kernel differentiate device files and ordinary files?

Kernel checks 'type' field in the file's inode structure.

Is it helpful? Add Comment View Comments
 

Ques 17. How to switch to a super user status to gain privileges?

Use 'su' command. The system asks for password and when valid entry is made the user gains super user (admin) privileges.

Is it helpful? Add Comment View Comments
 

Ques 18. What are shell variables?

Shell variables are special variables, a name-value pair created and maintained by the shell.
Example: PATH, HOME, MAIL and TERM

Is it helpful? Add Comment View Comments
 

Ques 19. What is redirection?

</SPAN>
Directing the flow of data to the file or from the file for input or output.
Example : ls > wc

Is it helpful? Add Comment View Comments
 

Ques 20. How to terminate a process which is running and the specialty on command kill 0?

With the help of kill command we can terminate the process.
Syntax: kill pid
Kill 0 - kills all processes in your system except the login shell.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users: