unix/linux System Admin Questions answer

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 <pkgname>

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 <pkgname>
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.rpm

Comments are closed.