Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes Browsers And Databases Data Mining Tools For Integrated Genomic Databases

Authors: Peter Schattner

1st Edition

0521711320, 978-0521711326

More Books

Students also viewed these Databases questions