Shilpa Nair Shares Her Interview Expertise on RedHat Linux Bundle Administration


Get real time updates directly on you device, subscribe now.

Shilpa Nair has simply graduated within the yr 2015. She went to use for Trainee place in a Nationwide Information Tv situated in Noida, Delhi. When she was within the final yr of commencement and trying to find assistance on her assignments she got here throughout Tecmint. Since then she has been visiting Tecmint frequently.

Linux Interview Questions on RPMLinux Interview Questions on RPM

Linux Interview Questions on RPM

All of the questions and solutions are rewritten primarily based upon the reminiscence of Shilpa Nair.

“Hello mates! I’m Shilpa Nair from Delhi. I’ve accomplished my commencement very lately and was trying to find a Trainee position quickly after my diploma. I’ve developed a ardour for UNIX since my early days within the collage and I used to be searching for a task that fits me and satisfies my soul. I used to be requested a numerous questions and most of them have been primary questions associated to RedHat Bundle Administration.”

Listed below are the questions, that I used to be requested and their corresponding solutions. I’m posting solely these questions which might be associated to RedHat GNU/Linux Bundle Administration, as they have been primarily requested.

1. How will you discover if a bundle is put in or not? Say it’s important to discover if ‘nano’ is put in or not, what’s going to you do?

Reply : To search out the bundle nano, climate put in or not, we will use rpm command with the choice -q is for question and -a stands for all of the put in packages.

# rpm -qa nano
# rpm -qa | grep -i nano


Additionally the bundle identify should be full, an incomplete bundle identify will return the immediate with out printing something which implies that bundle (incomplete bundle identify) just isn’t put in. It may be understood simply by the instance beneath:

We usually substitute vim command with vi. But when we discover bundle vi/vim we are going to get no consequence on the usual output.

# vi
# vim

Nonetheless we will clearly see that the bundle is put in by firing vi/vim command. Right here is perpetrator is incomplete file identify. If we aren’t positive of the precise file-name we will use wildcard as:

# rpm -qa vim*


This manner we will discover details about any bundle, if put in or not.

2. How will you put in a bundle XYZ utilizing rpm?

Reply : We will set up any bundle (*.rpm) utilizing rpm command a proven beneath, right here choices -i (set up), -v (verbose or show further data) and -h (print hash mark throughout bundle set up).

# rpm -ivh peazip-1.11-1.el6.rf.x86_64.rpm

Getting ready… ################################# [100%]
Updating / putting in…
1:peazip-1.11-1.el6.rf ################################# [100%]

If upgrading a bundle from earlier model -U swap needs to be used, possibility -v and -h follows to verify we get a verbose output together with hash Mark, that makes it readable.

three. You have got put in a bundle (say httpd) and now you need to see all of the recordsdata and directories put in and created by the above bundle. What’s going to you do?

Reply : We will listing all of the recordsdata (Linux deal with all the things as file together with directories) put in by the bundle httpd utilizing choices -l (Checklist all of the recordsdata) and -q (is for question).

# rpm -ql httpd

/and so forth/httpd
/and so forth/httpd/conf
/and so forth/httpd/conf.d

four. You’re presupposed to take away a bundle say postfix. What’s going to you do?

Reply : First we have to know postfix was put in by what bundle. Discover the bundle identify that put in postfix utilizing choices -e erase/uninstall a bundle) and –v (verbose output).

# rpm -qa postfix*


after which take away postfix as:

# rpm -ev postfix-2.10.1-6.el7.x86_64

Getting ready packages…

5. Get detailed details about an put in bundle, means data like Model, Launch, Set up Date, Measurement, Abstract and a short description.

Reply : We will get detailed details about an put in bundle by utilizing possibility -qa with rpm adopted by bundle identify.

For instance to seek out particulars of bundle openssh, all I must do is:

# rpm -qa openssh

[[email protected] tecmint]# rpm -qi openssh
Identify : openssh
Model : 6.8p1
Launch : 5.fc22
Structure: x86_64
Set up Date: Thursday 28 Might 2015 12:34:50 PM IST
Group : Purposes/Web
Measurement : 1542057
License : BSD


Ask Anything

enableHover: false,
enableTracking: true,
buttons: twitter: ,
click on: perform(api, choices)
fb: true
template: ‘


enableHover: false,
enableTracking: true,
click on: perform(api, choices)

share: ,
template: ‘


enableHover: false,
enableTracking: true,
urlCurl: ‘’,
click on: perform(api, choices)
share: ,
template: ‘


enableHover: false,
enableTracking: true,
buttons: ,
click on: perform(api, choices)

// Scrollable sharrre bar, contributed by Erik Frye. Superior!
var shareContainer = jQuery(“.sharrre-container”),
header = jQuery(‘#header’),
postEntry = jQuery(‘.entry’),
$window = jQuery(window),
distanceFromTop = 20,
startSharePosition = shareContainer.offset(),
contentBottom = postEntry.offset().high + postEntry.outerHeight(),
topOfTemplate = header.offset().high;
shareScroll = perform(){
if($window.width() > 719)

Source link

Leave A Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More