The assessment test is an excellent way to test yourself before starting to study. It gives you an idea of where you should start and why.

In an assessment test, test your current skills from beginning to advance lever for any subject or topic to check “what do you know and from where you should start learning?”

Here I have put some basic questions for Linux assessment, so you can test your Linux skill and choose right path for Linux Learning.



1.    Which of the following is not an advantage of a source package over a binary package?

  1. A single source package can be used on multiple CPU architectures.
  2. By recompiling a source package, you can sometimes work around library incompatibilities.
  3. You can modify the code in a source package, altering the behaviour of a program.
  4. Source packages can be installed more quickly than binary packages can.

2.    Which of the following is the default destination format when using alien?

  1. Tarball
  2. RPM
  3. Debian package
  4. Stampede package

3.    Which is true of using both RPM and Debian package management systems on one computer?

  1. It’s generally inadvisable because the two systems don’t share installed file database information.
  2. It’s impossible because their installed file database conflict with one aother.
  3. It causes no problems if you installed important libraries once in each format.
  4. It’s a common practice on Red Hat and Debian systems.

4.    How do you select packages for installation using dselect?

  1. You highlight the package in the selection list and press the plus (+) key.
  2. You right-click the package name with the mouse and select the Mark for Installation option.
  3. You highlight the package in the selection list and press the spacebar key.
  4. You click the package name with the mouse and pick the install -> Package option from the main menu.

5.    Which of the following statement is true about binary RPM packages that are built for a particular distribution?

  1. They can often be used on another  RPM-based distribution for the same CPU architecture, but this isn’t guaranteed.
  2. They may be used in another RPM-based distribution only when you set the             –convert-distrib parameter to rpm.
  3. They may be used in another RPM-based distribution only after you convert the package with alien.
  4. They can be recompiled for an RPM-based distribution running on another type of CPU.

6.    As root, you type apt-get update on a debian system. What should be the effect of this command?

  1. None; update is an invalid option to apt-get.
  2. The APT utilities deliver information on the latest updates you’ve made to the APT Internet repositories, enabling you to share your changes with others.
  3. The APT utilities download all available upgrades for your installed programs and install them on your system.
  4. The APT utilities retrieve information on the latest packages available so that you may install them with subsequent apt-get commands.

7.    Which is true of source RPM packages?

  1. They consist of three files: an origianl source tarball, a patch file of changes, and a PGP signature indicating the authenticity of the package.
  2. They require programming knowladge to rebuild.
  3. They can sometimes be used to work around dependency problems with a binary package.
  4. They are necessary to compile software for RPM-based distributions.

8.    Which of the following commands would you use to extract the content of the test-2.5.tbz source code tarball? [select all that apply.]

  1. tar xvjf test-2.5.tbz
  2. bunzip2 -c test-2.5.tbz | tar xvf –
  3. tar xvzf test-2.5.tbz
  4. rpm2cpio test-2.5.tbz | cpio -i – -make-directories

9.    Which of the following do RPM filenames conventionally include?

  1. Single-letter codes including Red Hat -certified build sites
  2. Build date information
  3. Version number and CPU architecture information
  4. The initials of the package’s maintainer

10.    Which of the following is not a good reason for installing software from source code?

  1. Installing software from source code enables you to optimize the software for your CPU. 
  2. Installing software from source code helps maintain your RPM or Debian package database.
  3. Installing software from source code enables you to make changes to the source code.
  4. Installing software from source code enables you to tweak program options to your liking.

11.    An administrator types the following command on a RPM-based Linux distribution:

# rpm -ivh linuxconcept.rpm

What is the effect of this command?

  1. The linuxconcept package, if it’s installed, is uninstall from the computer.
  2. The linuxconcept.rpm package, if it exists, is valid, and is not already installed , is installed on the system.
  3. The linuxconcept.rpm source RPM package is compiled into a binary RPM for the computer.
  4. Nothing; linuxconcept.rpm is not a valid RPM filename, so rpm will refuse to operate on this file.

12.    Which of the following steps should you always take before attempeting to compile software from source code?

  1. Edit the Makefile to optimize the compilation for your CPU.
  2. Read the documentation provided with the source code.
  3. Type make config to configure the software for your computer.
  4. Ensure that the Qt and GTK+ libraries are installed for use by the software.

13.    Which of the following commands will extract the content of the mytext.rpm file into the current directory?

  1. rpm2cpio mytext.rpm | cpio -i –make-directories
  2. rpm2cpio mytext.rpm > make-directories
  3. rpm -e mytext.rpm
  4. alien –to-extract mytext.rpm

14.    What methods might you use to uninstall a program you installed from source code without the help of a package manager? [Select all that apply]

  1. Consult the Registry to learn what files are installed and delete those associated with the package.
  2. Type make uninstall in the original program source code directory
  3. Type rpm -e packagename, where packagename is the name of the package.
  4. Manually track down and delete all the files installed by the package.

15.    To use dpkg to remove package called testprogram, including its configuration files, which of the following commands would you issue?

  1. dpkg -P testprogram
  2. dpkg -p testprogram
  3. dpkg -r testprogram
  4. dpkg -r testprogram-5.2.deb

16.    What is the function of ldd program?

  1. It dispalys information on the libraries used by a program or library.
  2. It copies a file, optionally applying conversions to it.
  3. It cause the system to re-create the library cache files and renew library links.
  4. It flushes the LD_LIRARY_PATH environment variable.

17.    Which of the following describes a difference between apt-get and dpkg?

  1. apt-get provides a GUI interface to Debian package management; dpkg does not.
  2. apt-get can install tarballs in addition to Debian packages; dpkg can not.
  3. apt-get can automatically retrive and update programs from Internet sites; dpkg can not.
  4. apt-get is provided only with the original Debian distribution, but dpkg comes with Debian and its derivatives.

18.  What is the prefered method of adding a directory to the library path for all users?

  1. Modify the LD_LIBRARY_PATH environment variable in a global shell script.
  2. Add the directory to the /etc/ file and then type ldconfig.
  3. Type ldconfig /new/dir, where /new/dir is the directory you want to add.
  4. Create a symbolic link from that directory to one that’s already on the library path.

19.  Which of the following is true of an attempt to use a Debian package from one distribution on another Debian-drived distribution?

  1. It’s unlikely to work because of library incompatibilities and divergent package-naming conventions.
  2. It’s guaranteed to work because of Debian’s strong package definition and enforcement of standrad for stsrtup scripts and file locations.
  3. It will work only when the distribution are built for different CPUs or when the alien package is already installed on the target system.
  4. It’s likely to work because of the close relationship of Debian-based distributions, assuming the two distributions are for the same CPU architecture.

20.  You prefer the look of GTK+ widgets to Qt widgets, so you want to substitute the GTK+ libraries for the Qt libraries on your system. How would you do this?

  1. You must type ldconfig –makesubs-qt.gtk. This command substitute the GTK+ libraries for the Qt libraries at load time.
  2. You must uninstall the Qt library package and re-install the GTK= packages with the –substitute=qt option to rpm or the –replace=qt option to dpkg.
  3. You must note the filename of the Qt libraries uninstall the packages and create symbolic links from the Qt libraries to the GTK+ libraries.
  4. You can’t easily do this; libraries cannot be arbitrarily exchanged for one another. You would need to rewrite all the Qt-using programs to use GTK+.


1.   d

2.   c

3.   a

4.   a

5.   a

6.   d

7.   c 

8.   a, b

9.   c

10.   b

11.   b

12.   b

13.   a

14.   b, d

15.   a

16.   a

17.   c

18.   b

19.   d

20.  d

If You Like What We Do Here On LinuxConcept, You Should Consider:

Stay Connected to: Twitter | Facebook

Subscribe to our email updates: Sign Up Now


We are thankful for your support.

Follow me


I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.
Follow me