Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Its Linux a related question please answer both questions because it's related to each other, and use the right commands with the screenshot of the

Its Linux a related question please answer both questions because it's related to each other, and use the right commands with the screenshot of the output and the commands.

image text in transcribed

4. Write an "ls" command for the following cases. For each case, make some files in a folder and test your answer. You might want to use the "touch" command to create an empty file. Use the "man" command for more information about the "touch" command. Include a screenshot for each solution. a. List all files which their names start with two unknown characters followed by a number and end with ".txt". For example: ab6.txt, k19.txt, pa8.txt, etc. b. List all files which their names are started with "man" followed with unknown number of characters ended with ".mp3". For example: man_old.mp3, manchild.mp3, manic.mp3, etc. c. List all files which their names start with an unknown number of characters, in the middle contains "test" followed with 2 number and ended with ".txt". For example: a test00.txt, abcdtest01.txt, a2_test78.txt. 5. Make a folder named "assignment1.c". Move all files you made for 4.c into this folder by issuing only one command

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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