CompTIA Linux+ (XKO-004) Pre-Assessment Quiz: Linux installation and configuration

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which of the following might you expect to see as the first line of a BASH script?

#!/bin/bash

Tyrese is reviewing the history of commands issued on a Linux workstation and sees the command: cut -d: -f1,7 /etc/passwd | tee users.txt. What does this command do?

Creates a file named users.txt that contains a list of usernames along with their default BASH shell while at the same time displaying that information to the screen.

Which of the following character sets allow you to implement the Unicode standard?

UTF-8

Which of the following commands can be used to view and set the time zone on a Linux system

b. timedatectl

Emily wants to download a file from a web server, but doesn't have a GUI installed. Which of the following tools could she use to download a file using the command line from the web server? (Choose two.)

curl and wget

In which of the following files is the user configuration information stored for Git?

d. ~/.gitconfig

Which of the following commands can be used to view which processes are listening on a given port? (Choose all that apply.)

netstat and lsof

Which of the following commands can be used to generate the host keys used by sshd?

ssh-keygen

Christine wants to watch the /var/log/syslog file in real time as he performs a few tasks on the server. Which of the following tasks will allow him to do this?

tail -f /var/log/syslog

Theo has created a virtual machine with a virtual disk configured to only use a minimal amount of hard disk space. The computer has a one terabyte drive, and even though he has created an 800 GB virtual disk, the host operating system is still showing 600 GB free space. Which of the following technologies is Theo's system using?

thin provisioning


Ensembles d'études connexes

CHAPTER 4: THE U.S. CONSTITUTION: ORIGINS, PRINCIPLES, AND DEVELOPMENT

View Set

Chapter 12 (Experimental Studies)

View Set

Urinary System Exam Review (Pt. 3)

View Set

Descripción de la geografía de los países hispanohablantes

View Set