Bash Shell Scripting - "cron" Command
Interactive Video
•
Information Technology (IT), Architecture, Performing Arts
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the 'echo_hello' script?
To display the current date and a greeting
To list all files in a directory
To delete temporary files
To create a new directory
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to list crontab entries for a user?
crontab -e
crontab -l
crontab -r
crontab -a
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is it important to specify the full path in a crontab entry?
To prevent syntax errors
To ensure the script runs in the correct directory
To reduce memory usage
To increase the execution speed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the effect of using a single '>' in a crontab entry?
It deletes the file
It appends output to a file
It overwrites the file with new output
It creates a new file
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you modify a crontab entry to append output instead of overwriting?
Use '<<' instead of '>'
Use '>>' instead of '>'
Use '||' instead of '>'
Use '>' instead of '>>'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should be done to ensure a script runs in the intended directory?
Use absolute paths
Use environment variables
Use symbolic links
Use relative paths
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'dummy_script.sh' version two?
To delete files in the directory
To execute commands in the specified directory
To execute commands in the home directory
To create a backup of the directory
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
6 questions
Snowflake - Build and Architect Data Pipelines Using AWS - Snowflake Object Hierarchy
Interactive video
•
University
6 questions
Web Development with Node.JS and MongoDB (Video 29)
Interactive video
•
University
8 questions
Next.js from Development to Deployment - Search API Route
Interactive video
•
University
8 questions
Learning Akka (Video 27)
Interactive video
•
University
8 questions
Will Central Banks Ruin Crypto? | Blockchain Central
Interactive video
•
University
8 questions
Chatbots for Beginners: A Complete Guide to Build Chatbots - Chatbot Development with AWS Lex and AWS Lambda: Starting L
Interactive video
•
University
8 questions
Houzz: Helping to Remodel From Inspiration Execution
Interactive video
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University