Question

In: Computer Science

Step # 3 - Create the following structure in the home directory: Refer to previous Steps...

Step # 3 - Create the following structure in the home directory:

Refer to previous Steps 1 + 2 for reference.   Do a tree to check your work as you go. No GUI, use command line only.

  1. Start by creating a directory within the home directory in which to experiment.
    1. Do a pwd and make sure you are in /home/pi
    2. Make a directory called YourInitials_fun Example: acf_fun
  2. In that directory, create a series of files and directories outlined below
    1. Make a directory called Ying
    2. Make a directory called Yang
  3. Navigate to the Ying Directory
    1. Create an empty file called Mind
    2. Create an empty file called Full
  4. Navigate to the Yang Directory
    1. Create a Directory called Zen
    2. From the Yang Directory create a file in Zen called Pooh
  5. Navigate to your YourInitials_fun Directory and copy Pooh from the Yang Directory to YourInitials_fun
    1. Write out the command you used_______________________________________________
  6. In the Yang Directory, create 2 empty files, Robin and Rabbit
  7. Copy Rabbit to the Zen Directory.
    1. Write out the command you used_______________________________________________
  8. Remove the Rabbit file in the Yang Directory.
    1. Write out the command you used_______________________________________________
  9. Do a tree on YourInitials_fun. Take a screen shot [Scrot] and insert it at the end of this document. If using VMware, you’ll need to utilize a snip-it tool. Upload this document to Blackboard for credit.

Solutions

Expert Solution

  1. Start by creating a directory within the home directory in which to experiment.
    1. Do a pwd and make sure you are in /home/pi
    2. Make a directory called YourInitials_fun Example: acf_fun
  2. In that directory, create a series of files and directories outlined below
    1. Make a directory called Ying
    2. Make a directory called Yang
  3. Navigate to the Ying Directory
    1. Create an empty file called Mind
    2. Create an empty file called Full
  4. Navigate to the Yang Directory
    1. Create a Directory called Zen
    2. From the Yang Directory create a file in Zen called Pooh
  5. Navigate to your YourInitials_fun Directory and copy Pooh from the Yang Directory to YourInitials_fun
    1. Write out the command you used: cp Yang/Zen/Pooh ./
  6. In the Yang Directory, create 2 empty files, Robin and Rabbit
  7. Copy Rabbit to the Zen Directory.
    1. Write out the command you used: cp Yang/Rabbit Yang/Zen
  8. Remove the Rabbit file in the Yang Directory.
    1. Write out the command you used: rm Yang/Rabbit
  9. Do a tree on YourInitials_fun. Take a screen shot [Scrot] and insert it at the end of this document. If using VMware, you’ll need to utilize a snip-it tool. Upload this document to Blackboard for credit.

Output:

(You can crop the image to get the output of just the tree command)


Related Solutions

Ask the user for their name Create a file called "daily.dat" within the home directory Ask...
Ask the user for their name Create a file called "daily.dat" within the home directory Ask the user for a line of text that the system should save to the file Add to the file the line of text entered by the user Ask the user for a second line of text that the system should save to the file Append at the end of the file the line of text entered by the user Create a copy of the...
1. Compare the Unix directory and the windows directory and answer the following: a. Match 3...
1. Compare the Unix directory and the windows directory and answer the following: a. Match 3 Unix directories to a Windows directory that is similar in function. Briefly describe their similarities and differences. b. Find a directory in Unix that appears to have no equivalent in Windows. What does it do? c. Find a directory in Windows that appears to have no equivalent in Unix. What does it do?
Create an implementation plan (work breakdown structure) that walks through the process step-by-step and provides a...
Create an implementation plan (work breakdown structure) that walks through the process step-by-step and provides a schedule for each milestone. Explain your strategies for implementing the change within the organization, such as training or process change. Explain your strategies for monitoring the project. Explain any risks or challenges that you anticipate, and how you plan to overcome those risks. THIS IS FOR THE MAYO CLINIC ANY HELP IS NEEDED!
Write a script in C that will do the following : 1. Create the directory ZHW3....
Write a script in C that will do the following : 1. Create the directory ZHW3. 2. Verify that the directory is created by display all information related to the directory and not just the name of the directory. 3. Assume that the input from the command is used to validate password strength. Here are a few assumptions for the password string. • Length – minimum of 8 characters. • Contain alphabets , numbers , and @ # $ %...
3 Explain (in detail) what the Risk Structure of Interest Rates refer to.
3 Explain (in detail) what the Risk Structure of Interest Rates refer to.
You will create a program with 3 methods. For the previous homework with three problems, you...
You will create a program with 3 methods. For the previous homework with three problems, you will create a method for each problem. In the main method, you will declare the three arrays and create the memory space for each of them. The first method will receive a one dimension array and then it will assign the values ( e.g., a[4] = 4*4*4*4;). The second method receives a 2 dimensional array and creates the calendar. The third method receives a...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with each body system and its components relevant to the nursing care you might provide for your clients in the Australian health care system. Complete the following table with regard to its definition, pathophysiology, signs and impact of specific health procedures(in 10-20 words each). DISEASES AFFECTING THE CARDIOVASCULAR SYSTEM Angina pectoris Angina pectoris 11.1) Definition 11.2) Briefly outline the pathophysiology 11.3) List four specific signs...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with each body system and its components relevant to the nursing care you might provide for your clients in the Australian health care system. Complete the following table with regard to its definition, pathophysiology, signs and impact of specific health procedures(in 10-20 words each). DISEASES AFFECTING THE RESPIRATORY SYSTEM Pneumonia Pneumonia 14.1) Definition 14.2) Briefly outline the pathophysiology 14.3) List four signs 14.4) Nurses should...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with...
Refer the previous question: The following table gives the common disorders, problems and complaints associated with each body system and its components relevant to the nursing care you might provide for your clients in the Australian health care system. Complete the following table with regard to its definition, pathophysiology, signs and impact of specific health procedures(in 10-20 words each). DISEASES AFFECTING THE URINARY SYSTEM urinary tract infection (UTI) urinary tract infection (UTI) 20.1) Definition 20.2) Briefly outline the pathophysiology 20.3)...
Identify if the following cost are usually variable, fixed, mixed, or step costs (large steps), step...
Identify if the following cost are usually variable, fixed, mixed, or step costs (large steps), step costs (narrow steps) - Electricity cost, which includes a $15 per month billing charge and an additional amount depending on the number of KW used. - A computer service agreement in which a company pays $150 per hour of technical time. -The wages of counter help in a fast food restaurant. - - The cost of computer printers and copiers in your university. -...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT