Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Thursday, 31 August 2017

Unix/Linux System Admin Interview Questions And Answers 6



Q: - What "neat" command will do?

neat command provides Graphical interface to change network settings for network devices.




Q: - Which protocol is required to allow local printing and print sharing?

Internet Printing Protocol (IPP) is required to allow local printing and print sharing.


Q: - What is CUPS?

CUPS stands for "Common UNIX Printing System". CUPS is a open source printing system developed by Apple Inc. CUPS uses the Internet Printing Protocol (IPP) to allow local printing and print sharing.


Q: -What is the location of log files for CUPS?

The log files for the CUPS printing system are located in the /var/log/cups/ directory.


Q: - What is YUM?

YUM stands for Yellow dog Updater, Modified because it is based on YUP, the Yellow dog Updater. Where does the name Yellow dog come from? Yellow Dog is a version of Linux for the Power Architecture hardware and is RPM-based, just like Red Hat Enterprise Linux and Fedora. YUP, and later YUM, were written by the Linux community as a way to maintain an RPM-based system.


Q: - What are the advantages of YUM?

- Automatic resolution of software dependencies.
- Multiple software locations at one time.
- Ability to specify particular software versions or architectures.


Q: - How you will install software by YUM?

yum install


Q: - Which option is required to assume the answer "yes" to any questions asked during installation of package dependencies for YUM?

The "-y" option is used to assume the answer "yes".
For Example
yum -y install squid
Q: - How to remove a software by YUM?

yum remove
Q: - How Many Run Levels present in Linux?

There are 7 run levels, with each having its own properties.
-   0: Halt the system
-   1: Single-user mode
-   2: Not used
-   3: Multi-user mode with text login
-   4: Not used
-   5: Multi-user mode with graphical login
-   6: Reboot
Q: - Which configuration file is required to change the Run Level of Server or system?

/etc/inittab
To change the default run level, modify this line.
id:5:initdefault:
Q: - Explain architectures required for RPMs?

noarch Architecture-independent, can run on any architecture
i386   Generic build for a 32-bit x86 system
i586   Sometimes used when building kernels for older x86 processors
Intel® Pentium ® II, Intel Pentium III, Intel Pentium 4, AMD Athlon, and
i686   AMD Duron systems (Most RPMs for these architectures are built using the i386 architecture, with the kernel for these architectures being built with the
i686 for optimal performance.)
x86_64 64-bit processors such as AMD Athlon64, AMD Opteron, and Intel EM64T
ia64   Intel® Itanium
ppc    32-bit IBM® POWER, IBM eServer„ pSeries®, and IBM eServer iSeries
s390x  64-bit IBM eServer System z
Q: - How to install Linux software’s by RPM?

rpm -ivh test-1.0-1.i386.rpm
test  ######################### [100%]
Q: - If a file associated with test-1.0-1.i386.rpm deleted, than How we will recover that file?

We can reinstall this rpm again.
Q: - If you are getting error "package is already installed" but you have to install package any how. what option you will use?

rpm -ivh test-1.0-1.i386.rpm
Preparing... ########################################### [100%] package test-1.0-1 is already installed
In this case you can use "--replacepkgs" option.
rpm -ivh –replacepkgs   test-1.0-1.i386.rp
m


No comments:

Post a Comment