LPI Certification / CompTIA Linux+ Practice Test - Question List

Select how would you like to study

21. You have a terminal window open and the current directory is your home directory. You need to create a new file in your home directory named office.txt using the vi editor. Which of the following commands should you use to do this?
  1. vi office.txt -new
  2. vi office.txt
  3. vi office
  4. vi ~/ office
22. Which of the following files is used to store user passwords on a Linux system that has been configured to use local authentication?
  1. /etc/sales
  2. /etc/shadow
  3. /etc/passwd
  4. /etc/local/accounts
23. John needs to change the permissions of a file named access.odt such that the file owner can edit the file. The sales staff who are members of the group that owns the file should be able to edit it. The sales staff who are not the owners and do not belong to the owning group can view it, but not modify it. Which of the following commands will help them do this?
  1. chmod 555 routine.odt
  2. chmod 664 routine.odt
  3. chmod 777 routine.odt
  4. chmod 644 routine.odt
24. Which of the following software types can be managed with a graphical software utility called YaST?
  1. Text-based script files
  2. Software compiled from downloaded source code
  3. RPM packages
  4. Programs compiled from source code written by the end user
25. Which of the following does the make install command do when installing an application from source code?
  1. It copies the binary executable and other files to the appropriate directories in the file system.
  2. It compiles the source code into a binary executable.
  3. It checks the local system to verify that the necessary components are available.
  4. It verifies that the installation files have not been corrupted or tampered with.

Select how would you like to study