Assume the following files are in the working directory:  $ ls    output.txt  notes1  notes2  notestxt  notes3  notes4 output.1  output.2  output.3  output-1b  output-2b Give commands for each of the following, using wildcards to express filenames with as few characters as possible.  a. List all files that begin with output. b. List all files that end in txt. c. List the output. files only.  d. List the output.1, output.3, notes1, and notes3 files.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

Assume the following files are in the working directory: 

$ ls 

 

output.txt  notes1  notes2  notestxt  notes3  notes4

output.1  output.2  output.3  output-1b  output-2b


Give commands for each of the following, using wildcards to express filenames with as few characters as possible. 

a. List all files that begin with output.

b. List all files that end in txt.

c. List the output. files only. 

d. List the output.1, output.3, notes1, and notes3 files. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 6 images

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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage