Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What happens when you give the following commands if the file named done already exists? $ cp to_do done $ mv to_do done 2.Which command

What happens when you give the following commands if the file named done already exists?
$ cp to_do done
$ mv to_do done
2.Which command can you use to look at the first few lines of a file named status.report? Which command can you use to look at the end of the file?
3.Try giving these two commands:
$ echo cat
$ cat echo
Explain the differences between them.
4.Is each of the following an absolute pathname, a relative pathname, or a simple pathname?
Milk_co
Correspond/business/milk_co
/home/alex
/home/alex/literature/promo
..
letter.0610

5.List the commands you can use to perform these operations:
Make your home directory the working directory
Identify the working directory
6.What does the shell ordinarily do while a command is executing? What should you do if you do not want to wait for a command to finish before running another command?
7.Assume that the following files are in the working directory:
$ ls
intro notesb ref2 section1 section3 section4b


notesa ref1 ref3 section2 section4a sentrev

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

List all files that begin with section.
List the section1, section2, and section3 files only.
List the intro file only.
List the section1, section3, ref1, and ref3 files.

Step by Step Solution

3.42 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

1 For the following commands if the file named done already exists a cp todo done This command will ... 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

Accounting Information Systems

Authors: George H. Bodnar, William S. Hopwood

11th Edition

0132871939, 978-0132871938

More Books

Students also viewed these Computer Network questions

Question

What is its total corporate value?

Answered: 1 week ago

Question

What is ABC? Why is ABC particularly relevant to CIM systems?

Answered: 1 week ago