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
8 questions
3D Printed Lithophane Lamps
Interactive video
•
University
8 questions
Arduino MASTERCLASS | What can Arduino do? PART 1
Interactive video
•
University
8 questions
AWS Certified Solutions Architect Associate (SAA-C03) - AWS Compliance Program
Interactive video
•
University
8 questions
Apache Maven Beginner to Guru - Maven Clean Plug-in
Interactive video
•
University
8 questions
Learn and Master C Programming - Understanding Heap Memory
Interactive video
•
University
8 questions
Is YouTube A Social Media Platform?
Interactive video
•
University
8 questions
Combining Parts and Multiple Processes on Cura
Interactive video
•
University
8 questions
Scala & Spark-Master Big Data with Scala and Spark - Scala Setup (Local Machine)
Interactive video
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University