Question 1hardmultiple choice
Read the full network assurance explanation →LPIC-1 Administrative Tasks • Complete Question Bank
Complete LPIC-1 Administrative Tasks question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. $ crontab -l SHELL=/bin/bash PATH=/usr/local/bin:/usr/bin:/bin MAILTO=admin@example.com 0 2 * * * /usr/local/bin/backup.sh 30 4 * * 1-5 /usr/local/bin/cleanup.sh 0 0 1 * * /usr/local/bin/monthly_report.sh
Refer to the exhibit.
$ systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-08-14 10:30:45 UTC; 2h 15min ago
Docs: man:apache2(8)
Main PID: 1234 (apache2)
Tasks: 55 (limit: 4915)
Memory: 24.5M
CGroup: /system.slice/apache2.service
├─1234 /usr/sbin/apache2 -k start
├─1235 /usr/sbin/apache2 -k start
└─1236 /usr/sbin/apache2 -k start
$ systemctl list-dependencies apache2
apache2.service
● └─network.target
● └─syslog.serviceRefer to the exhibit.
# cat /etc/ntp.conf
server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
# driftfile /var/lib/ntp/ntp.drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*0.pool.ntp.org .POOL. 16 p - 64 0 0.000 0.000 0.000
1.pool.ntp.org .POOL. 16 p - 64 0 0.000 0.000 0.000Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Terminate process immediately (cannot be caught)
Terminate process gracefully
Hangup; often reloads configuration
Interrupt from keyboard (Ctrl+C)
Stop process (cannot be caught or ignored)
Refer to the exhibit. $ cat /etc/fstab /dev/sda1 / ext4 defaults 1 1 /dev/sda2 /home ext4 defaults 1 2 /dev/sda3 swap swap defaults 0 0
Refer to the exhibit.
$ systemctl status sshd.service
● sshd.service - OpenSSH server daemon
Loaded: loaded (/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-10-02 10:30:00 UTC; 2h 30min ago
Docs: man:sshd(8)
Process: 1234 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1235 (sshd)
Tasks: 1 (limit: 512)
CGroup: /system.slice/sshd.service
└─1235 /usr/sbin/sshd -D# /etc/crontab: system-wide crontab SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
● cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-10-23 10:15:00 UTC; 2h 30min ago
Docs: man:cron(8)
Main PID: 1234 (cron)
Tasks: 1 (limit: 4915)
Memory: 1.2M
CGroup: /system.slice/cron.service
└─1234 /usr/sbin/cron -fjdoe:x:1001:1001:John Doe:/home/jdoe:/bin/bash
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2023-10-02 10:30:00 UTC; 2h 30min ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 1234 (sshd)
Tasks: 1 (limit: 2345)
Memory: 5.6M
CGroup: /system.slice/sshd.service
└─1234 /usr/sbin/sshd -DFilesystem Size Used Avail Use% Mounted on /dev/sda1 100G 80G 20G 80% / /dev/sda2 200G 100G 100G 50% /home tmpfs 16G 1.2G 15G 8% /dev/shm
0 * * * 1-6 /script.sh