-
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.
-
How many prompts are available in a UNIX system?
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
-
-
What is Redirection?
There are 3 types of Redirection.1)Input Redirection2)Output Redirection and3)Error RedirectionInstead of directing the input/output/error from/to the standard devices, we can direct them to/from a file
-
-
What is the use of crontab command in Linux Operating system?
Crontab is a very useful command used for scheduling purpose. If a person working inn Linux operating system wishes to schedule to run later they can achieve this by using the crontab command. Thus it is possible that each user working in the Linux operating system can define their own crontab. There are many options available with this crontab command. Some of them are namely:
Crontab with... -
-
-
-
Superuser Privilege
How will you assign superuser privilege to an ordinary user temporarily?
-
Fetch Records from a File
What is the command to fetch first 10 records in a file?
-
COPY Command
Assume that you are NOT currently in your home directory. Enter a command to copy all files in your home directory beginning with the letter 'a' to the current directory.
-
CPU Utilization Time
By using which command can you find the CPU utilization time?
-
What is the use of ‘grep’ command?
‘grep’ is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s). Syntax : grep Example : grep 99mx mcafile
-
-
-
-
-
-
UNIX Interview Questions
Ans