Friday, March 5, 2010

Top Linux Admin Interview Questions asked in TOP IT industries : Question Bank 2

Top Linux Admin Interview Questions and Answers

Questions consists of Linux Admin Interview Questions and Answers, Linux Administration questions, Linux Networking questions, MYSQL questions, bash, postfix questions, sendmail questions, ftp server questions

Questions BANK 02


# What command is used to remove the password assigned to a group?

# You changed the GID of the sales group by editing the /etc/group file. All of the members can change to the group without any problem except for Joe. He cannot even login to the system. What is the problem? Choose one:
a. Joe forgot the password for the group.
b. You need to add Joe to the group again.
c. Joe had the original GID specified as his default group in the /etc/passwd file.
d. You need to delete Joe’s account and recreate it.

# You need to delete the group dataproject. Which two of the following tasks should you do first before deleting the group?
A. Check the /etc/passwd file to make sure no one has this group as his default group.
B. Change the members of the dataproject group to another group besides users.
C. Make sure that the members listed in the /etc/group file are given new login names.
D. Verify that no file or directory has this group listed as its owner.
Choose one: a. A and C b. A and D c. B and C d. B and D

# When you look at the /etc/group file you see the group kmem listed. Since it does not own any files and no one is using it as a default group, can you delete this group?

# When looking at the /etc/passwd file, you notice that all the password fields contain ‘x’. What does this mean? Choose one:
a. That the password is encrypted.
b. That you are using shadow passwords.
c. That all passwords are blank.
d. That all passwords have expired.

# In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

# What file contains the default environment variables when using the bash shell? Choose one:
a. ~/.profile
b. /bash
c. /etc/profile
d. ~/bash

# You have created a subdirectory of your home directory containing your scripts. Since you use the bash shell, what file would you edit to put this directory on your path? Choose one:
a. ~/.profile
b. /etc/profile
c. /etc/bash
d. ~/.bash

# Which of the following interprets your actions when typing at the command line for the operating system? Choose One
a. Utility
b. Application
c. Shell
d. Command

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

# You want to enter a series of commands from the command-line. What would be the quickest way to do this? Choose One
a. Press enter after entering each command and its arguments
b. Put them in a script and execute the script
c. Separate each command with a semi-colon (;) and press enter after the last command
d. Separate each command with a / and press enter after the last command

# You are entering a long, complex command line and you reach the right side of your screen before you have finished typing. You want to finish typing the necessary commands but have the display wrap around to the left. Which of the following key combinations would achieve this? Choose One
a. Esc, /, Enter
b. /, Enter
c. ctrl-d, enter
d. esc, /, ctrl-d

# After typing in a new command and pressing enter, you receive an error message indicating incorrect syntax. This error message originated from.. Choose one
a. The shell
b. The operating system
c. The command
d. The kernel

3 comments:

  1. A single important factor I really like about website articles or blog posts will be the fact that they spark an thought in my brain. Soon after that takes place, I experience as I have to comment while using hope it is practical to many people.

    ReplyDelete
  2. Hello , you have a really amazing blog , I'm going to put a link to it on my site, so I am going to send you some quality traffic :) Cheers!

    ReplyDelete