Question
cd to my home directory. Create a command string that will list ALL of the files entries with a last modification date of: October 10
-
cd to my home directory. Create a command string that will list ALL of the files entries with a last modification date of:
October 10
Save the output to a file in your home directory called listing. Note: The command string should include the grep command.
A) What command string did you use?
ls -l | grep 'October 10'
ls -la | grep 'Oct 10'
ls -la | grep '10' > /listing
ls -la | grep 'Oct 10' > ~/listing
10 points
QUESTION 2
-
cd to my home directory.
Generate a command string that will cat the file called
$special file!
You may need to quote the special characters to make this work.
What command string did you use?
cat $special file!
cat '$special file!'
cat "$special file!"
cat $special' file!"
10 points
QUESTION 3
-
cd to my home directory.
Will the following command string will list all the file entries that have a size of 11 (Other file entries may be listed too. That is okay.)
ls -la | grep '11'
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started