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

  1. 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

  1. 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

  1. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!