commands Flashcards

(11 cards)

1
Q

what does the at command do?

A

allows you schedule a process to happen ONCE in the future and view them as wel;

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

true or false | at midnight is the same as at 12:00pm

A

True

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

true or false | at now + 2 weeks will set the current command to execute in 2 weeks?

A

FALSE it sets the time to execute in two weeks FROM CURRENT TIME

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

what does the following command do?

at teatime

at> date

A

makes the date command be ran at 4pm HAIL TEATIME

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

what does the -l option do in the at command?

A

shows a list of current jobs that are schedule

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

true or false atq and at -l are the same

A

yes

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

what does -c option do in the at command?

A

shows the previous output alongside the shell environment

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

what does the following command do

at -d 1

A

removes the job from executing that starts with ID 1

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

true or false atrm 1 is the same as at -d 1

A

TRUE

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

what does the -f option do in the at command?

A

allows you to set a date for a script to run

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

what does the following command do?

at 10:15pm July 16 -f myscript

A

makes the script called myscript run at 10:15pm on july 16

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