You are on page 1of 1

Command Line Practice

In this exercise you will utilize all of the command line commands that you learned
in lab. This exercise requires that you download the file: “Lecture2_Bacteria.list”
to your desktop from Canvas.

Tasks:

Use the command lines you have learned to complete the following:

1. Create a new folder on the desktop called “Bacteria”


2. Move the “Lecture2_Bacteria.list” file to this folder.
3. Read the contents of “Lecture2_Bacteria.list” and note the following:
a. The FIRST bacteria on the list
b. The LAST bacteria on the list
4. Now, create a file at the command line called “first.list” and put the name of
the first bacteria on the list in this file. Create a second file at the command
line called “last.list” and put the name of the last bacteria on the list in this
file.
5. Make a copy of both files so that TextEdit/Notepad can open it (i.e. make a
copy of “first.list” and call it “first.txt”. Do the same for the “last.list”).

If you have successfully completed all of the tasks listed above, you should have
the following:

1. A folder on the Desktop called “Bacteria”.


2. This folder should contain three files:
a. “Lecture2_Bacteria.list”
b. “first.list”
c. “first.txt”
d. “last.list”
e. “last.txt”
3. The file “Lab1_Bacteria.list” should contain a long list of bacteria names
4. The file “first.list” and “first.txt” should contain the following:
Acinetobacter_sp_ADP1
5. The file “last.list” and “last.txt” should contain the following:
Zymomonas_mobilis_ZM4

You might also like