linux final

Ace your homework & exams now with Quizwiz!

you want to use the date command to set the system time UTC time. Which date option should you use?

-U

According to the command help, which switch can you use with the killall command to kill a process group instead of just a process?

-g

You need to set the system date and time using the date command. Which date option should you use?

-s

during installation, you need to make sure there is plenty of hard disk space allocated to the partition this is going to hold the entire linux operating system. which is the best mount point.

/

which of the following directories MUST be part of the partition that holds the root (/) directory?

/bin /proc /etc

Which file should you edit if you want to permit specific users to edit their respective crontab file, but deny all other users on the system from editing their crontab file?

/etc/cron.allow

which port number is used by the IMAP protocol?

143

To transfer files to your company's internal network from home, you use FTP. The administrator has recently implemented a firewall at the network perimeter and disabled as many ports as possible. Now you can no longer make the FTP connection. You suspect the firewall is causing the issue. What ports(2) need to remain open so you can still transfer the files?

20 21

out of concern for security, you convinced your boss to stop allowing Telnet access to the network. Now, remote connections are only made through ssh. which port must you allow through the firewall for ssh access?

22

which system component verifies the hardware and passes control of the computer to the boot loader?

BIOS

which of the following is the standard shell for most linux computers

Bourne-again shell (bash)

which of the following special permissions prevents a files deletion by anyone except the file's owner?

Sticky Bit

Which of the following commands removes a job from the at queue?

at -d / atrm

what would you enter at the command prompt to start a new Bourne-again shell (bash) session?

bash

a user sends two print jobs to the Marketing printer (the default printer). He notices the printer is stalled on the first document, and uses the lprm - command. What will be the result?

both of her jobs will be deleted

Which of the following commands will display which boot options were given to the kernel at boot time?

cat /proc/cmdline

which of the following commands make sales the group owner of the /sales/report file?

chown .sales /sales/report chown :sales /sales/report

which of the following desktops was derived from GNOME 3, follows traditional desktop metaphor conventions, and is the primary desktop environment for the Mint distribution?

cinnamon

Which TCP/IP configuration parameter identifies the router that is used to reach hosts on remote networks?

default gateway

On Linux systems that use SysVinit (init) use the syslogd daemon to manage logging. Which of the following daemons is used on newer system-based distributions to provide a local system log file?

journald

After a severe lightning strike nearby, a number of processes seem to be running on the server in runaway mode. Which utility terminates these processes by name, and not just by process ID number?

killall

which of the following commands shows failed login attempts on the system?

lastb

which of the following commands removes all files from the print queue?

lpc clean

which of the following commands willl display information about the PCI devices installed on the system?

lspci

Roberto, a help desk technician, received a call from Sally.

maybe :: retype the command cd reports without /

Which command would you use to move a file from one location to another?

mv

which component is responsible for loading and executing the initial process?

os kernel

you have recent answered calls from a number of users who cannot access the mail server. Which utility would you use to quickly see if the sendmail server is running?

ps

which command displays all the processes that are running in the most detail?

ps -ef

which command displays the PPID?

ps -f

what would you enter at the command prompt to display the current working directory?

pwd Use pwd to show the present working directory.

A developer calls with a problem. They were trying to debug a new daemon and mistakenly placed it on the production machine instead of on a lab machine. To ensure the CPU gives preference to other processes, you need to lower the daemon's priority. The PID number is 2345. Which command would you use to decrease the daemon's priority?

renice -n 10 2345

which of the following is displayed when the uname -a command is run?

show kernel information

You are an application developer and are writing a program to exchange video files through a TCP/IP network. You need to select a transport protocol that will guarantee delivery. Which TCP/IP protocol would you implement that provides this capability?

tcp

which of the following commands will change the /home/gshants/smilefile's modification and last accessed times to the current time?

touch /home/gshants/smile

which of the following devices is a hot plug device?

usb flash drives

Which of the following utilities would you typically use to lock a user account? (select two)

usermod passwd


Related study sets

Critical Vocab "What of this Goldfish, Would you Wish?"

View Set

Persuasion Exam Two (chapters 7-10)

View Set

Behavior Therapy Ch. 10 Practice Questions

View Set

Chapter 6 - Architectural Design

View Set

The Italian States in the Renaissance (17)

View Set

Sun, Earth, Moon System OVERVIEW

View Set

AP Biology Biomolecules Test Review

View Set