-
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 pidKill 0 - kills all processes in your system except the login shell.
-
What is a pipe and give an example?
A pipe is two or more commands separated by pipe char '|'. That tells the shell to arrange for the output of the preceding command to be passed as input to the following command. Example : ls -l | prThe output for a command ls is the standard input of pr. When a sequence of commands are combined using pipe, then it is called pipeline.
-
What is redirection?
Directing the flow of data to the file or from the file for input or output.Example : ls > wc
-
-
-
-
-
Grep
How to use logical AND in grep?
-
-
-
Open Source
What is the meaning of open source? How it is associated with the meaning of heavily documented?
-
-
-
-
-
-
UNIX Password change issue
Hi,While trying to change the password of a normal user [ I logged in as root], I am getting the following message :-[root@localhost root]# passwd someuserChanging password for user someuser.passwd: Authentication information cannot be recovered[root@localhost root]#-------------------Think there's some issue in PAM configuration for password policy, please guide me for the same. Its urgent. Thanks...
-
What is relative path and absolute path?
Absolute path : Exact path from root directory.Relative path : Relative to the current path.
-
-
Extracting File Name
How can you extract just the Filename from the Fully Qualified Path and Filename.Basename?
UNIX Interview Questions
Ans