LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

31. You have installed an RPM package file named evolution-2.6.0-41.i586.rpm on your Linux system. Which of the following commands should you use to uninstall this package?
  1. rpm -U evolution
  2. rpm -U -remove evolution
  3. rpm -e evolution
  4. rpm -i -remove evolution
32. You want to check the list of commands you have executed recently. Which of the following files should you check?
  1. ~/.history
  2. /etc/bash_history
  3. ~/.bash_history
  4. ~/.bash_commands
33. Which of the following configuration files is read when a non-login bash shell is run?
  1. .bash_profile
  2. .bash_login
  3. .bashrc
  4. .profile
34. You want to view a list of the aliases currently on your Linux system. Which of the following commands should you issue at the shell prompt?
  1. alias -l
  2. display alias
  3. alias
  4. show alias
35. John is using a shell session that has a PID of 2700. He runs the su command to change to the root user account. The su process has a PID of 2757. He then runs vi from the shell prompt as a root user. The vi process has a PID of 2957. Which of the following is the PPID of the vi process?
  1. 2700
  2. 2757
  3. 2957
  4. 2958

Select how would you like to study