-
-
-
-
-
What is redirection?
Directing the flow of data to the file or from the file for input or output.Example : ls > wc
-
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.
-
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.
-
-
UNIX questions
How do u configure the Disk?Tell me Steps to configure the VG?How do u add a new disk in VG?What are the Attributes of LVM?Describe about LVM Adva/Dis.Adv?How do u find the fix is installed?How to u extend the FS?Attributes of FS?List all the LV in system?How do u find the PP size of the VG?How do u create the pp size of 32 MB in VG?What is the Limitation of VG?How do u disable the paging space?What...
-
-
-
What is the use of the command "ls -x chapter[1-5]"?
Ls stands for list; so it displays the list of the files that starts with 'chapter' with suffix '1' to '5', chapter1, chapter2, and so on.
-
-
-
Is it possible to restrict incoming message?
Yes, using the ‘mesg’ command.
-
Unix & Aix
Unix & Aix what's the difference between the two.
-
-
What does the command “ $who | sort ‚logfile > newfile‚do?
The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the hyphen as std input.In the above command the output from who becomes the std input to sort , meanwhile sort opens the file logfile, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output...
-
How to save a path in command prompt to recall it later.
How can I save a path to my favorites in command prompt to recall it later?
-
Write a command to display a file’s contents in various formats?
$od -cbd file_namec - character, b - binary (octal), d-decimal, od=Octal Dump.
UNIX Interview Questions
Ans