Question: Find if the following command is built-in, alias or a UNIX command. How did you find it? If a command is an alias, what is

  1. Find if the following command is built-in, alias or a UNIX command. How did you find it? If a command is an alias, what is it set to?
    1. which
    2. ifconfig
    3. find
    4. paste
    5. wc
  2. Get familiar with nano. Write down the nano command that will:
    1. Move to the beginning of the line.
    2. Move to the end of the line.
    3. Move back one page.
    4. Cut selected text.
    5. Write to a file.
    6. Exit nano.
  3. Manipulate directory structures:
    1. Display the absolute path of your home directory.
    2. Create a new subdirectory called comp145-temp in your home directory.
    3. Create a new subdirectory called assign1 in comp145-temp.
    4. Create a new subdirectory called assign2 in comp145-temp.
    5. Display the contents of the directory comp145-temp.
    6. Delete the directory assign2.
    7. Display the contents of the directory comp145-temp.
  4. Manipulate files:
    1. Change your current working directory to comp145-temp.
    2. Create a new subdirectory called assign2 in comp145-temp.
    3. Create a new file called MyFile.txt using the touch command and insert two lines into the file.
    4. The first line should be a sentence that tells me your favorite movie.
    5. The second line should be a sentence that tells me your favorite food.
    6. Display the contents of the file MyFile.txt to the standard output (screen).
    7. Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.
    8. Change your working directory to assign1.
    9. Make a copy of t_1.txt with the name t_2.txt (in the same directory).
    10. Display the contents of the directory assign1.
    11. Copy the t_1.txt file to directory assign2.
    12. Display the contents of the directory assign2.
    13. Delete the file t_1.txt in the directory assign1.
    14. Display the contents of the directory assign1.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!