Top 100 Linux interview questions

  1. You attempt to use shadow passwords but are unsuccessful. What characteristic of the /etc/passwd file may cause this? Choose one: a. The login command is missing. b. The username is too long. c. The password field is blank. d. The password field is prefaced by an asterick.

  2. You create a new user account by adding the following line to your /etc/passwd file. bobm:baddog:501:501:Bob Morris:/home/bobm:/bin/bash Bob calls you and tells you that he cannot logon. You verify that he is using the correct username and password. What is the problem? Choose one: a. The UID and GID cannot be identical. b. You cannot have spaces in the line unless they are surrounded with double quotes. c. You cannot directly enter the password; rather you have to use the passwd command to assign a password to the user. d. The username is too short, it must be at least six characters long.

  3. Which of the following tasks is not necessary when creating a new user by editing the /etc/passwd file? Choose one: a. Create a link from the user’s home directory to the shell the user will use. b. Create the user’s home directory c. Use the passwd command to assign a password to the account. d. Add the user to the specified group.

  4. You create a new user by adding the following line to the /etc/passwd file bobm::501:501:Bob Morris:/home/bobm:/bin/bash You then create the user’s home directory and use the passwd command to set his password. However, the user calls you and says that he cannot log on. What is the problem? Choose one: a. The user did not change his password. b. bobm does not have permission to /home/bobm. c. The user did not type his username in all caps. d. You cannot leave the password field blank when creating a new user.

  5. When using useradd to create a new user account, which of the following tasks is not done automatically. Choose one: a. Assign a UID. b. Assign a default shell. c. Create the user’s home directory. d. Define the user’s home directory.

  6. You issue the following command useradd -m bobm But the user cannot logon. What is the problem? Choose one: a. You need to assign a password to bobm’s account using the passwd command. b. You need to create bobm’s home directory and set the appropriate permissions. c. You need to edit the /etc/passwd file and assign a shell for bobm’s account. d. The username must be at least five characters long.

  7. You have created special configuration files that you want copied to each user’s home directories when creating new user accounts. You copy the files to /etc/skel. Which of the following commands will make this happen? Choose one: a. useradd -m username b. useradd -mk username c. useradd -k username d. useradd -Dk username

  8. Mary has recently gotten married and wants to change her username from mstone to mknight. Which of the following commands should you run to accomplish this? Choose one: a. usermod -l mknight mstone b. usermod -l mstone mknight c. usermod -u mknight mstone d. usermod -u mstone mknight

  9. After bob leaves the company you issue the command userdel bob. Although his entry in the /etc/passwd file has been deleted, his home directory is still there. What command could you have used to make sure that his home directory was also deleted? Choose one: a. userdel -m bob b. userdel -u bob c. userdel -l bob d. userdel -r bob

  10. All groups are defined in the /etc/group file. Each entry contains four fields in the following order. Choose one: a. groupname, password, GID, member list b. GID, groupname, password, member list c. groupname, GID, password, member list d. GID, member list, groupname, password

  11. You need to create a new group called sales with Bob, Mary and Joe as members. Which of the following would accomplish this? Choose one: a. Add the following line to the /etc/group file: sales:44:bob,mary,joe b. Issue the command groupadd sales. c. Issue the command groupadd -a sales bob,mary,joe d. Add the following line to the /etc/group file: sales::44:bob,mary,joe

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

  13. 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.

  14. 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

  15. 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?

  16. 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.

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

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

  19. 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

  20. 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

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

  22. 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

  23. 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

  24. 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

  25. When typing at the command line, the default editor is the _____________ library.

  26. You typed the following at the command line ls -al /home/ hadden. What key strokes would you enter to remove the space between the ‘/’ and ‘hadden’ without having to retype the entire line? Choose one a. Ctrl-B, Del b. Esc-b, Del c. Esc-Del, Del d. Ctrl-b, Del

  27. You would like to temporarily change your command line editor to be vi. What command should you type to change it?

  28. After experimenting with vi as your command line editor, you decide that you want to have vi your default editor every time you log in. What would be the appropriate way to do this? Choose one a. Change the /etc/inputrc file b. Change the /etc/profile file c. Change the ~/.inputrc file d. Change the ~/.profile file

  29. You have to type your name and title frequently throughout the day and would like to decrease the number of key strokes you use to type this. Which one of your configuration files would you edit to bind this information to one of the function keys?

  30. In your present working directory, you have the files maryletter memo1 MyTelephoneandAddressBook What is the fewest number of keys you can type to open the file MyTelephoneandAddressBook with vi? Choose one a. 6 b. 28 c. 25 d. 4

  31. A variable that you can name and assign a value to is called a _____________ variable.

  32. You have installed a new application but when you type in the command to start it you get the error message Command not found. What do you need to do to fix this problem? Choose one a. Add the directory containing the application to your path b. Specify the directory’s name whenever you run the application c. Verify that the execute permission has been applied to the command. d. Give everyone read, write and execute permission to the application’s directory.

  33. You telnet into several of your servers simultaneously. During the day, you sometimes get confused as to which telnet session is connected to which server. Which of the following commands in your .profile file would make it obvious to which server you are attached? Choose one a. PS1=’\h: \w>’ b. PS1=’\s: \W>’ c. PS1=’\!: \t>’ d. PS1=’\a: \n>’

  34. Which of the following environment variables determines your working directory at the completion of a successful login? Choose one a. HOME b. BASH_ENV c. PWD d. BLENDERDIR

  35. Every time you attempt to delete a file using the rm utility, the operating system prompts you for confirmation. You know that this is not the customary behavior for the rm command. What is wrong? Choose one a. rm has been aliased as rm -i b. The version of rm installed on your system is incorrect. c. This is the normal behavior of the newest version of rm. d. There is an incorrect link on your system.

  36. You are running out of space in your home directory. While looking for files to delete or compress you find a large file called .bash_history and delete it. A few days later, it is back and as large as before. What do you need to do to ensure that its size is smaller? Choose one a. Set the HISTFILESIZE variable to a smaller number. b. Set the HISTSIZE to a smaller number. c. Set the NOHISTFILE variable to true. d. Set the HISTAPPEND variable to true.

  37. In order to display the last five commands you have entered using the history command, you would type ___________.

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

  39. You previously ran the find command to locate a particular file. You want to run that command again. What would be the quickest way to do this? Choose one a. fc -l find fc n b. history -l find history n c. Retype the command d. fc -n find

  40. Using command substitution, how would you display the value of the present working directory? Choose one a. echo $(pwd) b. echo pwd c. $pwd d. pwd | echo

  41. You need to search the entire directory structure to locate a specific file. How could you do this and still be able to run other commands while the find command is still searching for your file? Choose one a. find / -name filename & b. find / -name filename c. bg find / -name filename d. &find / -name filename &

  42. In order to create a file called DirContents containing the contents of the /etc directory you would type ____________.

  43. What would be displayed as the result of issuing the command ps ef? Choose one a. A listing of the user’s running processes formatted as a tree. b. A listing of the stopped processes c. A listing of all the running processes formatted as a tree. d. A listing of all system processes formatted as a tree.

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

  45. The top utility can be used to change the priority of a running process? Another utility that can also be used to change priority is ___________?

  46. What key combination can you press to suspend a running job and place it in the background?

  47. You issue the command jobs and receive the following output: [1]- Stopped (tty output) pine [2]+ Stopped (tty output) MyScript How would you bring the MyScript process to the foreground? Choose one: a. fg %2 b. ctrl-c c. fg MyScript d. ctrl-z

  48. You enter the command cat MyFile | sort > DirList & and the operating system displays [4] 3499 What does this mean? Choose one a. This is job number 4 and the PID of the sort command is 3499. b. This is job number 4 and the PID of the job is 3499. c. This is job number 3499 and the PID of the cat command is 4. d. This is job number 4 and the PID of the cat command is 3499.

  49. You attempt to log out but receive an error message that you cannot. When you issue the jobs command, you see a process that is running in the background. How can you fix this so that you can logout? Choose one a. Issue the kill command with the PID of each running command of the pipeline as an argument. b. Issue the kill command with the job number as an argument. c. Issue the kill command with the PID of the last command as an argument. d. Issue the kill command without any arguments.

  50. You have been given the job of administering a new server. It houses a database used by the sales people. This information is changed frequently and is not duplicated anywhere else. What should you do to ensure that this information is not lost? Choose one a. Create a backup strategy that includes backing up this information at least daily. b. Prepare a proposal to purchase a backup server c. Recommend that the server be made part of a cluster. d. Install an additional hard drive in the server.

  51. When planning your backup strategy you need to consider how often you will perform a backup, how much time the backup takes and what media you will use. What other factor must you consider when planning your backup strategy? _________

  52. Many factors are taken into account when planning a backup strategy. The one most important one is how often does the file ____________.

  53. Which one of the following factors does not play a role in choosing the type of backup media to use? Choose one: a. How frequently a file changes b. How long you need to retain the backup c. How much data needs to be backed up d. How frequently the backed up data needs to be accessed

  54. When you only back up one partition, this is called a ______ backup. Choose one a. Differential b. Full c. Partial d. Copy

  55. When you back up only the files that have changed since the last backup, this is called a ______ backup. Choose one a. Partial b. Differential c. Full d. Copy

  56. The easiest, most basic form of backing up a file is to _____ it to another location.

  57. When is the most important time to restore a file from your backup? Choose one a. On a regular scheduled basis to verify that the data is available. b. When the system crashes. c. When a user inadvertently loses a file. d. When your boss asks to see how restoring a file works.

  58. As a system administrator, you are instructed to backup all the users’ home directories. Which of the following commands would accomplish this? Choose one a. tar rf usersbkup home/* b. tar cf usersbkup home/* c. tar cbf usersbkup home/* d. tar rvf usersbkup home/*

  59. What is wrong with the following command? tar cvfb / /dev/tape 20 Choose one a. You cannot use the c option with the b option. b. The correct line should be tar -cvfb / /dev/tape20. c. The arguments are not in the same order as the corresponding modifiers. d. The files to be backed up have not been specified.

  60. You need to view the contents of the tarfile called MyBackup.tar. What command would you use? __________

  61. After creating a backup of the users’ home directories called backup.cpio you are asked to restore a file called memo.ben. What command should you type?

  62. You want to create a compressed backup of the users’ home directories so you issue the command gzip /home/* backup.gz but it fails. The reason that it failed is that gzip will only compress one _______ at a time.

  63. You want to create a compressed backup of the users’ home directories. What utility should you use?

  64. You routinely compress old log files. You now need to examine a log from two months ago. In order to view its contents without first having to decompress it, use the _________ utility.

  65. Which two utilities can you use to set up a job to run at a specified time? Choose one: a. at and crond b. atrun and crontab c. at and crontab d. atd and crond

  66. You have written a script called usrs to parse the passwd file and create a list of usernames. You want to have this run at tomorrow so you can see the results when you get to work. Which of the following commands will work? Choose one: a. at wed usrs b. at wed -b usrs c. at wed -l usrs d. at wed -d usrs

  67. Several of your users have been scheduling large at jobs to run during peak load times. How can you prevent anyone from scheduling an at job? Choose one: a. delete the file /etc/at.deny b. create an empty file called /etc/at.deny c. create two empty files: /etc/at.deny and /etc/at.allow file d. create an empty file called /etc/at.allow

  68. How can you determine who has scheduled at jobs? Choose one: a. at -l b. at -q c. at -d d. atwho

  69. When defining a cronjob, there are five fields used to specify when the job will run. What are these fields and what is the correct order? Choose one: a. minute, hour, day of week, day of month, month b. minute, hour, month, day of month, day of week c. minute, hour, day of month, month, day of week d. hour, minute, day of month, month, day of week

  70. You have entered the following cronjob. When will it run? 15 * * * 1,3,5 myscript Choose one: a. at 15 minutes after every hour on the 1st, 3rd and 5th of each month. b. at , 3:15 am, and every day c. at on the 1st, 3rd, and 5th of each month d. at 15 minutes after every hour every Monday, Wednesday, and Friday

  71. As the system administrator you need to review Bob’s cronjobs. What command would you use? Choose one: a. crontab -lu bob b. crontab -u bob c. crontab -l d. cronq -lu bob

  72. In order to schedule a cronjob, the first task is to create a text file containing the jobs to be run along with the time they are to run. Which of the following commands will run the script MyScript every day at ? Choose one: a. * 23 45 * * MyScript b. 23 45 * * * MyScript c. 45 23 * * * MyScript d. * * * 23 45 MyScript

  73. Which daemon must be running in order to have any scheduled jobs run as scheduled? Choose one: a. crond b. atd c. atrun d. crontab

  74. You want to ensure that your system is not overloaded with users running multiple scheduled jobs. A policy has been established that only the system administrators can create any scheduled jobs. It is your job to implement this policy. How are you going to do this? Choose one: a. create an empty file called /etc/cron.deny b. create a file called /etc/cron.allow which contains the names of those allowed to schedule jobs. c. create a file called /etc/cron.deny containing all regular usernames. d. create two empty files called /etc/cron.allow and /etc/cron.deny

  75. You notice that your server load is exceptionally high during the hours of to 2 . When investigating the cause, you suspect that it may be a cron job scheduled by one of your users. What command can you use to determine if your suspicions are correct? Choose one: a. crontab -u b. crond -u c. crontab -l d. crond -l

  76. One of your users, Bob, has created a script to reindex his database. Now he has it scheduled to run every day at . What command should you use to delete this job. Choose one: a. crontab -ru bob b. crontab -u bob c. crontab -du bob d. crontab -lu bob

  77. What daemon is responsible for tracking events on your system?

  78. What is the name and path of the default configuration file used by the syslogd daemon?

  79. You have made changes to the /etc/syslog.conf file. Which of the following commands will cause these changes to be implemented without having to reboot your computer? Choose one: a. kill SIGHINT `cat /var/run/syslogd.pid` b. kill SIGHUP `cat /var/run/syslogd.pid` c. kill SIGHUP syslogd d. kill SIGHINT syslogd

  80. Which of the following lines in your /etc/syslog.conf file will cause all critical messages to be logged to the file /var/log/critmessages? Choose one: a. *.=crit /var/log/critmessages b. *crit /var/log/critmessages c. *=crit /var/log/critmessages d. *.crit /var/log/critmessages

  81. You wish to have all mail messages except those of type info to the /var/log/mailmessages file. Which of the following lines in your /etc/syslogd.conf file would accomplish this? Choose one: a. mail.*;mail!=info /var/log/mailmessages b. mail.*;mail.=info /var/log/mailmessages c. mail.*;mail.info /var/log/mailmessages d. mail.*;mail.!=info /var/log/mailmessages

  82. What is the name and path of the main system log?

  83. Which log contains information on currently logged in users? Choose one: a. /var/log/utmp b. /var/log/wtmp c. /var/log/lastlog d. /var/log/messages

  84. You have been assigned the task of determining if there are any user accounts defined on your system that have not been used during the last three months. Which log file should you examine to determine this information? Choose one: a. /var/log/wtmp b. /var/log/lastlog c. /var/log/utmp d. /var/log/messages

  85. You have been told to configure a method of rotating log files on your system. Which of the following factors do you not need to consider? Choose one: a. date and time of messages b. log size c. frequency of rotation d. amount of available disk space

  86. What utility can you use to automate rotation of logs?

  87. You wish to rotate all your logs weekly except for the /var/log/wtmp log which you wish to rotate monthly. How could you accomplish this. Choose one: a. Assign a global option to rotate all logs weekly and a local option to rotate the /var/log/wtmp log monthly. b. Assign a local option to rotate all logs weekly and a global option to rotate the /var/log/wtmp log monthly. c. Move the /var/log/wtmp log to a different directory. Run logrotate against the new location. d. Configure logrotate to not rotate the /var/log/wtmp log. Rotate it manually every month.

  88. You have configured logrotate to rotate your logs weekly and keep them for eight weeks. You are running our of disk space. What should you do? Choose one: a. Quit using logrotate and manually save old logs to another location. b. Reconfigure logrotate to only save logs for four weeks. c. Configure logrotate to save old files to another location. d. Use the prerotate command to run a script to move the older logs to another location.

  89. What command can you use to review boot messages?

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

  91. What account is created when you install Linux?

  92. While logged on as a regular user, your boss calls up and wants you to create a new user account immediately. How can you do this without first having to close your work, log off and logon as root? Choose one: a. Issue the command rootlog. b. Issue the command su and type exit when finished. c. Issue the command su and type logoff when finished. d. Issue the command logon root and type exit when finished.

  93. Which file defines all users on your system? Choose one: a. /etc/passwd b. /etc/users c. /etc/password d. /etc/user.conf

  94. There are seven fields in the /etc/passwd file. Which of the following lists all the fields in the correct order? Choose one: a. username, UID, GID, home directory, command, comment b. username, UID, GID, comment, home directory, command c. UID, username, GID, home directory, comment, command d. username, UID, group name, GID, home directory, comment

  95. Which of the following user names is invalid? Choose one: a. Theresa Hadden b. thadden c. TheresaH d. T.H.

  96. In order to prevent a user from logging in, you can add a(n) ________at the beginning of the password field.

  97. The beginning user identifier is defined in the _________ file.

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

  99. Bob Armstrong, who has a username of boba, calls to tell you he forgot his password. What command should you use to reset his command?

  100. Your company has implemented a policy that users’ passwords must be reset every ninety days. Since you have over 100 users you created a file with each username and the new password. How are you going to change the old passwords to the new ones? Choose one: a. Use the chpasswd command along with the name of the file containing the new passwords. b. Use the passwd command with the -f option and the name of the file containing the new passwords. c. Open the /etc/passwd file in a text editor and manually change each password. d. Use the passwd command with the -u option.

 


Comments (71)

preya
Said this on 1-2-2008 At 10:55 am
Its good but it is useful only if answers are available.
sreedhar
Said this on 9-28-2010 At 06:00 pm

Hi here are the answers for few questions

1. D,2.C,3.A,4.B5.C,6.A

vijay
Said this on 1-16-2008 At 03:38 pm
all questions are good but answers are not available...plz give answers as earl as possible
Bijesh
Said this on 2-29-2008 At 10:04 pm
Very good
Krupa balsara
Said this on 4-23-2008 At 01:34 pm
Its good, but more detailed queries about shell progrms are required.
poorna
Said this on 6-15-2008 At 06:58 pm
all questions are good but answers are not available...plz give answers as earl as possible
Amit Khare
Said this on 7-18-2008 At 06:29 pm
Had there been answers to these Qs, it cd really be used as a refernce for meny problems..
manikandan
Said this on 9-25-2008 At 01:32 am
Hi this is very good.could you please give answer for all the questions in this mail id: maniapr08@gmail.com
amitg
Said this on 11-17-2008 At 05:14 pm
ur rite preya
vijaya
Said this on 11-20-2008 At 01:37 pm
These q's r exteemly helpful.
plz give the answers tooo......
akash
Said this on 12-24-2008 At 08:18 pm
all good buddies out there, half job is allready done by the author . HE has PROVIDED Questions.. please google around get your answers (as this way u could learn & improvise)...

Always remember a chef can cook good food, thou u have to bring & eat it yourself !
murali
Said this on 5-13-2011 At 03:22 pm

u r correct akash.......

Rohit
Said this on 1-9-2009 At 02:30 pm
I am new to Open Source
Your questions will prove to be very helpful
Keep up the good work
Thank You very much
Said this on 1-20-2009 At 08:47 pm
nice but answers should must be provided.
rashid
Said this on 3-26-2009 At 01:38 am
some interesting questions for you guyz
1)when you create a user in linux , the default settings comes from -------------
2)name the DNS records
3)What is the difference between hard links and soft links
4)what is the difference between name base and ip base virtual hosting
5)where are the kernel parameters stored in linux
6) you want to deploy linux on identical machines , which method you will use
7)Name of the file which describe the kickstart installation
8) How you give another Ip address on the same NIC (network card)
9)you defined samba shares and you want these shares to be available on network , you don't want to restart samba server
which command you will use ??
10)you want to monitor systems on your network ,what utility you will use
11) you want to backup a test.bak file on 11 PM every Sunday what you will do?
12) can you define the linux boot process
13)what is initrd
14)can you name of the actual kernel in linux
15) how you get the kernel version
16)how you change run levels in linux
17) you want /dev/hda10 mounted whenever your system boots what you will do
18) you want bind to be run at boot time ,which command you will use
19)which utility will give you information about running process at run time
20) you want to know if nfs package is installed on your system
21) what is the difference between rpm , yum and RHEN
22) what is a proc directory
23) what is the difference between current directory and home directory
24)what is exit status in linux
25)you have a dual boot system with windows XP and Fedora Linux , you want to access windows partition which is on fat32 file system , what you will do ??
figure out guyz , i will post more questions later
Rehan
Said this on 7-3-2010 At 08:23 pm

Dear Rashid,

here is Mr. Rehan Khan i m trying to give the some answer of ur questions. This is not full answer sheet bt answer is in serial way.

And my dear reply me also wheather this answer is correct or not according to u .

 

Ans 1. /etc/skel

Ans 6. Unattendend Installation Method With the help of PXE Server & NFS server.

Ans 7.  Anaconda ks.cfg

Ans 8. With the help of IP Forwarding .

Ans 9. Service smb restart

Ans 11. Set a Cron Job for the back up.

Ans 15.  uname -r

Ans 16. runlevel  no.

Ans 17. edit the fstab file with this configuration

/dev/hda10    mount point    ext2/3      defaults    0 0

Ans 20. rpm -q nfs-utils*

Ans 22. /proc directory are not real files--they are hooks to look at information available to the kernel.

Said this on 7-23-2010 At 07:35 pm

Dear Rashid,

I dont know what is linux but i tried my best  hahaha........

1) /etc/skel.

2) Mx records.

3) Hard links for files only and soft links are for both directoris and files.

4) in ip base you are running more than one web site on the same server machine,and in name base you have to put more than one DNS record for your IP address in the DNS.

5) in /boot.

6) for example, BIND

7) vc-ligo.tar.gz .

8) copy  a file in /etc/sysconfig/network-script/ifcfg-eth0 to ifcfg-eth0:1 .

9) service network reload .

10) Anue systems, makes a Net Tool Optimizer that is used to connect multiple monitoring.

11)you  can edit a crontab .

12) its a very long prosedure dude . prosedure of starting of linux os from power on to login prompt..

  1. BIOS: The Basic Input/Output System is the lowest level interface between the computer and peripherals.
    The BIOS performs integrity checks on memory and seeks instructions on the Master Boor Record (MBR) on the floppy drive or hard drive.
  2. The MBR points to the boot loader (GRUB or LILO: Linux boot loader).
  3. Boot loader (GRUB or LILO) will then ask for the OS label which will identify which kernel to run and where it is located (hard drive and partition specified). The installation process requires to creation/identification of partitions and where to install the OS. GRUB/LILO are also configured during this process. The boot loader then loads the Linux operating system.
    • See the YoLincreating a boot disk linux tutorial on  for more information on GRUB and LILO and also to learn how to put the MBR and boot loader on a floppy for system recovery.
  4. The first thing the kernel does is to execute init program. Init is the root/parent of all processes executing on Linux.
  5. The first processes that init starts is a script /etc/rc.d/rc.sysinit
  6. Based on the appropriate run-level, scripts are executed to start various processes to run the system and make it functional

13)  initrd  image is the initial ram disk image While the system getting booted the kernel image will get loaded into the main memory.

14) vmlinuxz.

15) uname -r .

16) from inittab .

17)put the entry in fstab with proper drivers and mount point(/dev/hda10    mount point    ext2/3      defaults    0 0).

18)chkconfig.

19)top command and ps -el.

20)rpm -qa nfs and you can check export file in /etc.

21)rpm required dependency software and yum can install automatically with dependancy .

22)The /Prock is a strange beast. It doesn't really exist, yet you can explore it. Its zero-length files are neither binary nor text.

23)home directory is one over which user have complete controland it is its default working directory when its logs in.while the current directory is the users current directorywhich may or may not be his home directory.

24)Linux command has a several parameters or variables that can be use to find out the exit status of command. Please note that these parameters or variables may only be referenced assignment to them is not allowed. You can use $? to find out the exit status of command($ echo $?).

25)we have to recompile the kernal with added fat32 drivers and boot from that kernal.

Pratheesh
Said this on 7-4-2011 At 11:51 am

15. uname -R

      uname -A

16 go to /etc/grub/grub.conf

     Edit the default run level

17 mount the partition in /etc/fstab

surjeet
Said this on 3-27-2009 At 03:10 pm
Questions are good. But of no use without answers. I can't access myself without answers. Kindly provide me.
Kenneth
Said this on 4-13-2009 At 10:39 pm
Good !!. Please add answers next ti me round. Provide me with answers pls.
Said this on 7-8-2010 At 11:35 am

these questions are very good but it was to good if u r print these answers also.

please provide me answers .         

                                i  m     waiting...............

senthil kumar.S
Said this on 7-15-2009 At 02:48 pm
good
anees M.A Ambalapuzha
Said this on 8-4-2009 At 04:23 pm
it's good shall i post this answer 2 u..for jst checking whether it's correct or not
Said this on 8-4-2009 At 04:26 pm
it's good can u post the answers 2 this mail id: anees_achu@yahoo.com
DILLI KUMAR
Said this on 8-13-2009 At 08:34 pm
IT IS REALLY VERY HELPFUL FOR ME. IF U HAVE MORE QUESTIONS, SEND IT TO ME. MY MAIL-ID IS mkdillikumar@gmail.com.
ranjith
Said this on 9-7-2009 At 02:45 pm
please send a answer to my mail id- ranjith_dhilip@yahoo.com
Said this on 12-20-2009 At 01:52 pm

Any one please send me the answers to my email id.......Plzzzzzzzzzzzzzzzzzz

jolly
Said this on 12-25-2009 At 11:29 am

Hey Questions are too good . Please send me the replies at my emaild id too........

Ahetesham
Said this on 1-21-2010 At 09:59 pm

It very very nice.Please put more question and scenario for pratise. Thanks

chiru
Said this on 2-6-2010 At 05:13 pm

can any one pls send me the answer to chiruarjun@gmail.com

sreya
Said this on 2-12-2010 At 01:11 am

Hi I am software tester.

sumit chatterjee
Said this on 9-3-2010 At 02:00 am

hi mam ,this is sumit chatterjee.i m freshers my branch is I.T, i m interested in linux based job.i passed the RHCE exam.but mam i need a ans of 100 question ,by which i can learn more about linux and got a linux based job..

...plz mam help me if ans available..plzzzzz mamm

shefali
Said this on 2-13-2010 At 10:44 pm

Mr Reddy,

Kindly sending me the solutions on my mail id

shefalim82@gmail.com

 

thanks in advance :)

 

Anhishek
Said this on 2-25-2010 At 12:19 pm

Please mail me answers to my mail id.........abhishek.patil286@gmail.com

pawan
Said this on 3-23-2010 At 10:19 am

it's good can u post the answers 2 this mail id:pawan_rafan@rediffmail.com

pawan
Said this on 3-23-2010 At 10:20 am

Kindly sending me the solutions on my mail id pawan_rafan@rediffmail.com

Kannan
Said this on 5-5-2010 At 11:25 pm

Kindly send the answeres to id

Best Regds- Kannan

narasimha
Said this on 5-12-2010 At 07:06 pm

it's good can u post the answers 2 this mail id: rnreddy111@yahoo.co.in


 

 

satwick mandal
Said this on 6-10-2010 At 01:32 pm

it's good can u post the answers 2 this mail id: satwick2k@gmail.com

satwick mandal
Said this on 6-10-2010 At 01:33 pm

it's good can u post the answers 2 this mail id: satwick2k@gmail.com

arun
Said this on 6-18-2010 At 09:31 am

Hi,

Please replay me with answer...

Dhinesh.M
Said this on 6-18-2010 At 01:01 pm

plz send me the answer to my mailid it's very helpful for me

SaidiReddy
Said this on 7-22-2010 At 11:20 pm

plz anyone send me the answers

Santosh
Said this on 8-10-2010 At 11:00 pm

Please mail me the answers to the above questions. My email-id is

santy_5_84@yahoo.co.in

Said this on 8-20-2010 At 10:38 am
good questions better if u can provide correct answer on my mail id:noor.giet.72@gmail.com
Said this on 9-3-2010 At 01:55 am

hi every one......question is so valuable for linux learner ..i need a answer of these question plz send me answer if any one got the answer..

my e-mail id is :ping2sumit@yahoo.com

Neelamegan
Said this on 9-4-2010 At 01:13 am

where i get answers?

shan
Said this on 9-9-2010 At 08:27 am

it's extraordnary questions. any one have answers plz send me

mail:shant.k2000@gmail.com

Himanshu Singhani
Said this on 9-11-2010 At 12:48 pm

Can anyone send me the answers for all the questions listed above???????????? Please at hisinghani@yahoo.co.in

juhi
Said this on 9-19-2010 At 08:41 pm

plz send answers on my id,,,,dese questions r of no use without answers....

Post a Comment
* Your Name:
* Your Email:
(not publicly displayed)
Reply Notification:
Approval Notification:
Website:
* Security Image:
Security Image Generate new
Copy the numbers and letters from the security image:
* Message:

Email to Friend

Fill in the form below to send this article to a friend:

Email to Friend
* Your Name:
* Your Email:
* Friend's Name:
* Friend's Email:
* Security Image:
Security Image Generate new
Copy the numbers and letters from the security image
* Message: