In many cases you will likely get better information by simply looking closely at the output you got when trying out the command in the other window. What command could you use to list the files in your fileAsst directory, using an absolute path to the fileAsst directory as part of your command? What command could you use to list the text files (only) in your fileAsst directory, using a relative path to the fileAsstdirectory as part of your command? The /usr/include directory contains a large number of C/C++ header files (all ending with a .h extension). What command would you give to list the names of the header files in that directory that include the string “it” as part of the name?

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

In many cases you will likely get better information by simply looking closely at the output you got when trying out the command in the other window.

  1. What command could you use to list the files in your fileAsst directory, using an absolute path to the fileAsst directory as part of your command?

  2. What command could you use to list the text files (only) in your fileAsst directory, using a relative path to the fileAsstdirectory as part of your command?

  3. The /usr/include directory contains a large number of C/C++ header files (all ending with a .h extension). What command would you give to list the names of the header files in that directory that include the string “it” as part of the name?

  4. One of the files you should now have in your fileAsst directory is TweedleDee/hatter.txt. Suppose that you wished to copy that file into your current (commandsAsst) directory. What command would you give to make that copy?

    For this, and for the following questions,

    • You will want to delete all files already in your commandsAsst directory before trying to check your answer to this question. Otherwise you will not be able to easily tell what files were added by your command and what were left over from earlier attempts.
    • For the same reason, when you submit your suggested answer to the grading script, it will delete any files in your commandsAsst directory before trying out your command.
  5. Suppose that you wished to copy all of the text files from your fileAsst directory into your current directory (without typing out the name of each individual file). What command would you give to make that copy?

  6. Suppose that you wished to copy all of the text files from your fileAsst directory and all of the files from your fileAsst/TweedleDee directory into your current directory (without typing out the name of each individual file). What command would you give to make that copy?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education