Top 48 Red Hat Certified Engineer (RHCE) Interview Questions
Q1. What Is Gzip?
Gzip is a compression application created through the GNU venture.
Q2. As A Administrator You Need To Monitor The /var/log/messages File In Real Time To Resolve The Issue? How Would You Do That?
You can use tail command with -f choice. Following command will do the assigned project
#tail -f /var/log/messages
Q3. Which Command Will Assign Ip Address 192.168.1.1 And Subnet Mask 255.255.255.Zero To Eth0 Network Interface?
Ifconfig command can be used to assign IP cope with. Following command will do the given assignment. Ifconfig eth0 192.168.1.1 net mask 255.255.255.Zero
Q4. Which Log File Keeps Track Of All User Logins And Logouts?
/var/log/wtmp log record continues track of all user logins and logouts.
Q5. What Command Runs Fdisk On The First Ata/ide Hard Drive?
The first ATA/IDE difficult drive is hda, so the command might be
# fdisk /dev/hda
Q6. Which Partition Store System Configuration Files In Linux System?
/and many others partition stores machine configuration documents in Linux.
Q7. What Command Is Used To Load A Module Into The Kernel?
The insmod command is used to load a module into the kernel.
Q8. Which Organization Controls The Official Releases And Updates Of The X Window System?
The X Consortium at www.X.Org controls the reputable launch and updating of the X Window System.
Q9. What Command Can An Administrator Use To Track Real-time Information On Processes And The Resources That They Are Using?
The pinnacle command is used to display approaches and sources in actual-time.
Q10. You Are Tasked To Set Up A Schedule To Perform Automatic Checks Of Available Disk Space At The End Of The Day. How Can You Accomplish This Task?
To accomplish this task installation cron to run a script as a way to check the disk area each day at 7:00 p.M. The output could be e-mailed to the basis account. You can compare the consequences from day after day to research disk area usage.
Your cron report need to appearance much like the subsequent:
* 19 * * * df -kl.
Q11. What Is The Alternative Method To A Gui Installation In Linux?
Linux offers text base set up as the opportunity technique of GUI set up.
Q12. You Need To Kill All Instances Of Web Server? What Command Will You Execute To Do This?
You can use killall httpd command to kill all httpd technique. Httpd method run internet server.
Q13. An Administrator Wants To Assign An Ip Address Of 192.168.1.10, A Subnet Mask Of 255.255.255.Zero, And A Broadcast Address Of 192.168.1.254 To Eth
Following command will do that mission. Ifconfig eth1 192.168.1.10 net mask 255.255.255.0 broadcast 192.168.1.254.
Q14. How Can You List All Running Process?
Use playstation -ef command to listing all going for walks system.
#playstation -ef
Q15. An Administrator Has Accidentally Killed A Core Process. What Is The Result Of This Action?
Killing a middle procedure can probably crash your gadget due to the fact many essential offerings depend upon these core strategies.
Q16. Which Command Will You Use To Bring A Process In Foreground, Which Is Running In The Background?
The fg command without delay movements the program to the foreground.
Q17. As A Linux Admin You Want To Know What Processes Are Being Run By User Sumit. What Command Can You Use?
You can use #ps -au command to listing all of the technique owned through consumer. Following command will do the assigned task
#ps -au summit
Q18. Which Is The Standard Command Used To Uncompress Gzip Files?
The standard command used to uncompress gzip documents in gunzip.
Q19. As A Administrator You Need To Terminate The Send Mail Process. How Will You Do That?
First you want to decide the PID of send mail so it could be killed.
#ps -ef ship mail
Now you can use kill command to terminate the procedure associated with send mail.
Q20. While Installing The New Rpm What Common Steps Should Take?
You ought to follow those commonplace steps:
Use RPM equipment should be used to question or confirm the hooked up programs to.
Confirm the installation of any previous programs.
Check the signature of new package.
RPM ought to be installed or upgraded by way of first the usage of the take a look at mode to verify that it works, after which it need to be established.
At the stop question the RPM and verify the set up of RPM.
Q21. What Is The Command Used To Remove An Rpm Package Named Demofilename2.2-2.I386.Rpm?
The most common command used to remove an RPM bundle is rpm -evh. Following command will do away with the given bundle
#rpm -evh demofilename2.2-2.I386.Rpm
Q22. While Scanning The /var/log/messages File, You Notice An Error Stating An Authentication Failure For Root. What Could This Mean?
Any failed login tries for root are logged into the /var/log/messages file. It imply that a few has tried to login as root.
Q23. To Create A Recurring Scheduled Task, Which Linux Scheduling Tool Should You Use?
The cron command permits you to create recurring obligations.
Q24. What Command Can You Use To Enable An Ethernet Network Interface That Has Already Been Configured?
To allow already configured interface use Ifconfig [interface] up command. For example to up eth0 interface use following command.
#Ifconfig eth0 up
Q25. Name Any Four General Password Rules For User Account?
Include at the least 8 overall characters.
Use the string in an unrepeated manner.
Avoid use words that may be observed within the dictionary..
Avoid use dates of importance, including a birthday or anniversary.
Q26. What Command Is Used To Exit The Edit Mode Of Vi Editor?
The [esc] secret is used to go out from the edit mode of VI editor.
Q27. What Command Do You Use To Format A Partition With A File System?
You ought to use mkfs command to format partition with document gadget.
Q28. When Checking The Partition Information On Your Hard Drive With Fdisk, You Notice That One Of The Partitions Is Formatted As "linux Swap" And Is Approximately 512mb In Size. What Is The Purpose Of Thi
The Linux switch file is used for digital reminiscence to save extra facts that cannot match into current memory. This swap record allows statistics to be cached on disk, and may be retrieved right away. Heavy use of the switch record shows a low memory situation.
Q29. What Sort Of Kernel Error Can Cause A Linux System To Crash And Write A Memory Core Dump?
Kernel panic errors can motive a Linux machine to crash. A kernel panic suggests that a kernel manner has crashed. This is a totally serious blunders that causes the complete Linux gadget to crash. These middle dumps have to be analyzed carefully to find the foundation reason of the hassle.
Q30. Ppp Is Most Often Used To Create?
PPP is most often used to create serial point-to-point connections.
Q31. Which Option In Fdisk Will Display The Partition Table?
In fdisk utility, the "p" command will print the partition desk.
Q32. What Is The Command Used To Install An Rpm Package Named Demo Filename 2.2-2.I386.Rpm?
The maximum commonplace command used to install an RPM bundle is rpm -ivh. Following command will set up the given package
#rpm -ivh demo filename 2.2-2.I386.Rpm
Q33. An Application Is Creating Several, Very Large Core Dump Files. What Should The Administrator Do If He Has No Intention Of Debugging These Files?
If administrators haven't any aim of retaining these documents for debugging functions, they have to be deleted due to the fact they are losing precious disk space, and may cause device to run out of space.
Q34. You Execute A Command That Is Going To Take A Long Time. How Can You Get Back To Your Shell Prompt To Perform Other Task?
You can use bg command to ship a strolling system to the heritage.
Q35. What Is The Purpose Of The Swap On Command?
Swap on command is used to set off a already created change partition. It can not be used to create a brand new change partition.
Q36. What Is The First Process That Is Run When A Linux System Starts, And Is Responsible For Starting All Other System Processes And Services?
The init technique is the first system to be run. It is the parent process of all other Linux gadget techniques, services, and daemons which can be had to run the machine.
Q37. What Is Kerberos Used For?
Kerberos is used for secure community logon.
Q38. What Is The Command Used To Update An Rpm Package Named Demofilename2.2-2.I386.Rpm?
The most not unusual command used to replace an RPM package deal is rpm -Uvh. Following command will update the given package deal and do away with the antique.
#rpm -Uvh demofilename2.2-2.I386.Rpm
Q39. What Is Tar?
Tar is an archive application that is used to create tape backups.
Q40. Where Is The Automatically Mounted File Systems Listed?
The mechanically established report systems are listed within the report /etc/fstab.
Q41. What Is The Purpose Of The Md5 Option On Passwords?
MD5 is an encryption approach that encrypts the password earlier than saving.
A higher technique of password protection is to create tough-to-spoil passwords which can be smooth for the users to remember.
Q42. You Noticed A Kernel Error Message During The Boot Process, But It Scrolled Before You Could Read This? What Log File Could You Check To Find Out That Message?
The log report that incorporates kernel boot messages is /var/log/dmesg.
Q43. From The Output Of Ps Command How Will You Determine The Id Number Of The Parent Process Of A Particular Program?
PPID refers to the discern process identification variety.
Q44. What Is The Rpm Switch For Only Installing Packages?
The command line transfer for installing an RPM is -i.
Q45. How Will You Decompress The Demo.Tar.Gz File?
To decompress use following command
#tar -zxvf demo.Tar.Gz
Q46. How Would You Create A Backup Of The Fstab File To The /backup Folder?
Use cp command to create the backup.
#cp /and so on/fstab /backup
Q47. As An Administrator You Noticed From Top Command That An Unidentified Process Is Using Up All Cpu And Memory. You Suspects That Is A User's Process That Has Run Away. How Should You Fix This?
The technique should be straight away killed before it consumes such a lot of assets that the server cannot run nicely and therefore crash.
Q48. A Developer With Username Sanjay Has Told You That One Or His Processes Seem To Be Locked Up And He Cannot It. He Reported That It A Bug In His Code And May Quickly Use Up All Cpu And Ram Resources On
Your first step is to perceive the system, use ps command
#playstation -au sanjay
Now run pinnacle command to examine the procedure jogging, and confirm which one is using the maximum resources. After you've got recognized the hassle procedure, you can use the kill command to terminate it. Because the person become not able to forestall the manner, you need to likely pressure a kill signal to make sure that the technique stops:
#kills -9 [PID of process]
Now, to verify that it has stopped, run the playstation command again on the user:
ps -au sanjay

