KyaPoocha.com

Huge Collection of Interview Questions


‘Linux Interview Questions’ - KyaPoocha.com

What are the techniques that you use to handle the collisions in hash tables? 

We can use two major techniques to handle the collisions. They are open addressing and separate chaining. In open addressing, data items that hash to a full array... Read more »

What is the major advantage of a hash table? 

The major advantage of a hash table is its speed. Because the hash function is to take a range of key values and transform them into index values in such a way that... Read more »

What is Write Command ? 

The write command enables you to write an actual message on the other terminal online. You have to issue the write command with the login ID of the user with whom... Read more »

Why You Shouldn’t Use the root Login? 

The root login does not restrict you in any way. When you log in as root, you become the system. The root login is also sometimes called the superuser login. With... Read more »

How big should the swap-space partition be? 

Swap space is used as an extension of physical RAM, the more RAM you have, the less swap space is required. You can add the amount of swap space and the amount of... Read more »

Which field is used to define the user’s default shell? 

command-The last field, called either command or login command, is used to specify what shell the user will use when he logs in.  Read more »

When you create a new partition, you need to designate its size by defining the starting and ending? 

cylinders-When creating a new partition you must first specify its starting cylinder. You can then either specify its size or the ending cylinder.  Read more »

What can you type at a command line to determine which shell you are using? 

echo $SHELL-The name and path to the shell you are using is saved to the SHELL environment variable. You can then use the echo command to print out the value of... Read more »

In order to display the last five commands you have entered using the fc command, you would type? 

fc -5-The fc command can be used to edit or rerun commands you have previously entered. To specify the number of commands to list, use -n.  Read more »

What command should you use to check your filesystem? 

fsck-The fsck command is used to check the integrity of the filesystem on your disk.  Read more »

What file defines the levels of messages written to system log files? 

kernel.h-To determine the various levels of messages that are defined on your system, examine the kernel.h file.  Read more »

What account is created when you install Linux? 

root-Whenever you install Linux, only one user account is created. This is the superuser account also known as root.  Read more »

What daemon is responsible for tracking events on your system? 

Syslogd-The syslogd daemon is responsible for tracking system information and saving it to specified log files.  Read more »

Where is standard output usually directed? 

To the screen or display-By default, your shell directs standard output to your screen or display.  Read more »

What utility can you use to show a dynamic listing of running processes? 

Top-The top utility shows a listing of all running processes that is dynamically updated  Read more »

Page 2 of 3«123»