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

Create the directory tree above in your /home/username folder using at most three (3) mkdir commands...
Create the directory tree above in your /home/username folder using at most three (3) mkdir commands Use the ‘cat’ utility to create two text files called “nfile1” & “nfile2” in the “notes” directory. “nfile1” should contain the names of persons (at least 2 persons). Use the vi editor to create a simple text file, then save & quit. Briefly explain the various modes of vi and show how to delete a character, a word and a line Use the ‘tar’...
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...
Please create (if not already in your linux home directory) files of any type. Once these...
Please create (if not already in your linux home directory) files of any type. Once these files are created, archive them, compress the archive and move these files to the thrash directory. This could be a script to be run from the shell or the script to be run from an executable file. Submit your code and clearly explain all steps of your script.
Create a console application named TakeHomePay.cs under your homework directory (please refer to the earlier recorded...
Create a console application named TakeHomePay.cs under your homework directory (please refer to the earlier recorded Zoom sessions if you are not sure how to do it) that calculates the take-home pay for an employee. The two types of employees are salaried and hourly. Allow the user to input the employee’s first and last name, id, and type. If an employee is salaried, allow the user to input the salary amount. If an employee is hourly, allow the user to...
Complete these steps to write a simple calculator program: 1. Create a calc project directory 2....
Complete these steps to write a simple calculator program: 1. Create a calc project directory 2. Create a mcalc.c source file containing five functions; add, sub, mul, div, and mod; that implement integer addition, subtraction, multiplication, division, and modulo (remainder of division) respectively. Each function should take two integer arguments and return an integer result. 3. Create a mcalc.h header file that contains function prototypes for each of the five functions implemented in mcalc.c. 4. Create a calc.c source file...
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.
in java Create a class called Customer in three steps: • (Step-1): • Add a constructor...
in java Create a class called Customer in three steps: • (Step-1): • Add a constructor of the class Customer that takes the name and purchase amount of the customer as inputs. • Write getter methods getName and getPrice to return the name and price of the customer. You can write a toString() method which returns printed string of Customer name and its purchase. • (Step-2): Create a class called Restaurant. • Write a method addsale that takes customer name...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT