Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam EX200 topic 1 question 4 discussion

Actual exam question from RedHat's EX200
Question #: 4
Topic #: 1
[All EX200 Questions]

SIMULATION -
Configure a task: plan to run echo hello command at 14:23 every day.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
# which echo
# crontab -e
23 14 * * * /bin/echo hello
# crontab -l (Verify)

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
surac
Highly Voted 3 years, 6 months ago
crontab -u mary -e 23 14 * * * echo "Hello World."
upvoted 7 times
datboy16
2 years, 1 month ago
why are u user mary? this that necessary
upvoted 4 times
...
Mayowa15
1 year, 4 months ago
there is no user for this question so no need to use -u and any user.
upvoted 1 times
...
...
PENNSHARK
Most Recent 2 months, 3 weeks ago
vim /etc/crontab 23 14 * * * echo "hello "
upvoted 1 times
...
[Removed]
4 months, 2 weeks ago
echo '23 14 * * * /bin/echo hello' | crontab -
upvoted 1 times
...
Rahul95
10 months ago
crontab -e min hr * * * /bin/echo "hello" crontab -l #to verify vi /etc/cron.deny #to stop a user from creating a cron job username #add the username in the file
upvoted 1 times
...
zqc
10 months, 3 weeks ago
23 14 * * * echo "hello" can't display hello on terminal. should force echo "hello" > /dev/pts/0(may different to your tty). I test on RockyLinux Rocky Linux 8.4 (Green Obsidian). Please correct if I am wrong.
upvoted 1 times
cloudsinair
10 months, 2 weeks ago
Question doesn't ask to echo on specific terminal, user could be log in to tty2 or pts/0. to make it simple, don't add more input.
upvoted 1 times
...
...
2022G
1 year, 11 months ago
#crontab -e 23 14 * * * echo "hello" :wq! #crontab -l =>to check the cronjob
upvoted 2 times
...
AbidBajwa
2 years, 5 months ago
23 14 * * * user echo "hello"
upvoted 1 times
...
DANG257315
3 years, 2 months ago
crontab -e "open editor vi" --> key i insert text 23 14 * * * echo "test" save --> esc :x
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...