Deck 3 Flashcards

1
Q

TIME SERVICES: ntpd- older, chrony=newer

-Cron order is m h dom m dow

-crontab -e= deletes, -…=deletes with NO fucking prompt, -i=prompt before deletion

A

-deletes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

> & redirects standard output AND…

2> redirects STANDARD error

curl or wget download

A

-standard error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

lpr submits….jobs

timedatectl shows system time and date and is used to change…

….configures

A

-print

-timezone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

name resolution values are in /etc/…file and DNS

etc/resolv.conf contains…servers (8.8.8.8, etc)

A

-host

-name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

firewalld-cmd–get-…. =list all zones

–zone=dmz = list rules for dmz zone

–zone=dmz–……=http = opens port 80 in dmz

–…..-port 21/tcp =closes ftp port in dmz

firewall-cmd —reload= updates firewall

A

-zones

–add service

–remove

How well did you know this?
1
Not at all
2
3
4
5
Perfectly