Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago