How to use the touch command: 2-Minute Linux Tips

Interactive Video
•
Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the primary uses of the touch command?
To compress a file
To create a new directory
To delete a file
To ensure a file exists before a script runs
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you use the touch command on an existing file?
The file is deleted
The file's contents are changed
The file's date and time are updated
The file is moved to a new location
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which option allows you to set a file's date and time to match another file using the touch command?
-C
-A
-B
-R
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command can be used to view all date-related information of a file?
echo
stat
ls
cat
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of using the touch command with the -R option?
The file is copied to another directory
The file's date and time are set to match another file
The file's permissions are changed
The file is renamed
Similar Resources on Wayground
8 questions
Raspberry Pi For Beginners - 2022 Complete Course - Create, Remove, and Manipulate Files

Interactive video
•
University
8 questions
Data Science Model Deployments and Cloud Computing on GCP - gsutil and Bash Command Basics

Interactive video
•
University
6 questions
Linux Fundamentals - Creating New Files

Interactive video
•
University
6 questions
The Complete Practical Docker Guide - Creating New Files

Interactive video
•
University
2 questions
Practical Linux Command Line 2.0 - Create and Manage Files (touch, rm, cp, mv)

Interactive video
•
University
6 questions
Bash Shell Scripting - Brace Expansion

Interactive video
•
University
2 questions
The Full Stack Web Development - Using libmemcached-tools

Interactive video
•
University
2 questions
Data Science Model Deployments and Cloud Computing on GCP - gsutil and Bash Command Basics

Interactive video
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Architecture
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University