Linux Terminal Flashcards

1
Q

Cron job to restart PC every day at 20:00

A
sudo crontab -e
0 20 * * * /sbin/shutdown -r now

m h dom mon dow command

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

Install deb package

A

sudo dpkg –i filename.deb

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

View the hidden contents of a folder differentiating between files and folders

A

ls -aF

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

Check ip

A

ip -br a

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