-
Which file holds the list of users that are NOT allowed to use cron ?
Answer: /etc/cron.d/cron.deny
-
What is meant by shell layer manager?
Shell layer manager is also called as shl in short. This utility is used for running number of scripts simultaneously at the same time in a single terminal. This utility plays a very important role in UNIX operating system because as we all know UNIX is a multi-programming operating system. So in other words there many be many instances or occurrences in which the users in the UNIX operating system...
-
-
-
-
Is it possible to create new a file system in UNIX?
Yes, ‘mkfs’ is used to create a new file system.
-
What happens when a compress command is used in UNIX system?
compress command is used for compressing a file that is for making the file size compact so that it becomes small. When a compress command is used in UNIX all the file attributes like the owner of the file and other things remain same except the file size is compressed and the extension of the file becomes .ZThe general syntax for compressing file iscompress filenameFor instance if one like to compress...
-
What is the difference between the commands sleep, wait and killall?
sleep:
This command is used in UNIX operating system to suspend execution of the system for the specified time limit mentioned in it as parameter.
The general format of sleep command is
sleep no_of_seconds
The sleep suspends the execution of the shell in UNIX operating system for the no_of seconds specified.
For instance
sleep... -
-
-
How do you rewind the tape to start position?
Answer: mt -f /dev/rmt/0 rewind
-
Where is the semaphore stored in UNIX operating system?
Before going into the storage of semaphore it is first vital to know about semaphores. A semaphore is nothing but a term used in UNIX for a variable which acts as a counter. So the next question that comes in mind is what for we need this variable. It’s so simple. The reason is explained below. For instance there may be times when two processes try to access the same file simultaneously. In...
-
What is the difference between Daemon & Server process.
Please give examples of both Daemon and Server processes. Thanks.
-
-
-
-
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.
-
-
-
UNIX Interview Questions
Ans