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
Express Framework Fundamentals - Secure Sign-Up with Auth0 and Node.js - EJS State Management and Updates with Express R
Interactive video
•
University
8 questions
Agile Masterclass: Agile for Project Management - Need for Change in Software Development
Interactive video
•
University
8 questions
Core Java Programming Course- Removing Duplicate Words from a Text File
Interactive video
•
University
8 questions
Microsoft Excel 2021365 - Beginner to Advanced - Solve Order
Interactive video
•
University
8 questions
Modern HTML and CSS from the Beginning (Including Sass) - Targeted Selectors
Interactive video
•
University
8 questions
Comprehensive Android Developer Bootcamp - CHALLENGE SOLUTION
Interactive video
•
University
8 questions
The Complete React Developer Course (with Hooks and Redux) - Webpack Dev Server
Interactive video
•
University
8 questions
Raspberry Pi For Beginners - 2022 Complete Course - Activity 04 - Solution
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