1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kobotan [32]
3 years ago
11

Demonstrate your grasp of the Unix file system by constructing a directory structure as follows: In your home ( ~ ) directory, c

reate a directory named "UnixCourse".This directory will be used in the remaining assignments of this course, as well as this one.Several of the commands that you will issue in this course will examine files in this directory and, in some cases, send me a listing of those files or even copies of those files for grading and diagnostic purposes. So you should not store anything unrelated to the course assignments in this ~/UnixCourse area. Within your UnixCourse directory, create a directory named "fileAsst". Within that fileAsst directory, create two directories, named "TweedleDee" and "TweedleDum".
Use the ls and/or tree command to check your work. Within the TweedleDee directory, you should place a copy of the file ~cs252/Assignments/fileAsst/hatter.txt

Use the ls and/or tree command to check your work. Within the TweedleDum directory, you should place a copy of the file ~cs252/Assignments/fileAsst/dormouse.txt Use the ls and/or tree command to check your work.

When you have completed this much, execute the command ~cs252/bin/fileAsst-1 (Take note of the difference between the numeric digit 1 and the lower-case letter l in the command above.

If you can’t tell the difference between these, check your web browser settings to see if you can get it to use some better fonts.) This will check to see if you have built the desired directory structure so far. You should repeat the above steps as necessary until this command reports success.

If you have been successful so far, the fileAsst-1 command will have placed a new file somewhere in the directory structure you have built.

Find it, and move it into the TweedleDee directory, renaming the file to "rabbit.dat". Execute the command ~cs252/bin/fileAsst-2
Computers and Technology
1 answer:
s2008m [1.1K]3 years ago
7 0

Answer:

The steps to follow in executing the command are listed in the Explanation section

Explanation:

Open the terminal using Ctrl + Alt + T

To go to home directory, type: cd ~ OR just cd

To create a directory named UnixCourse, type: mkdir UnixCourse

To change directory to UnixCourse, type: cd UnixCourse

To create a fileAsst directory, type: mkdir fileAsst

To change directory into fileAsst, type: cd fileAsst

To create TweedleDee directory, type: mkdir TweedleDee

To create TweedleDum direectory, type: mkdir TweedleDum

To view the directory, type: ls

To copy from one directory to another:

cp ~/cs252/Assignments/fileAsst/hatter.txt  ~/UnixCourse/fileAsst/TweedleDee

To change to TweedleDee directory and list to view:

cd TweedleDee

ls

cd .. (this is to go back to the fileAsst directory)

To copy from one directory to another:

cp ~/cs252/Assignments/fileAsst/dormouse.txt  ~/UnixCourse/fileAsst/TweedleDum

To change to TweedleDum directory and list to view:

cd TweedleDum

ls

cd .. (this is to go back to the fileAsst directory)

The command below is executed as required:

~/cs252/bin/fileAsst-1

We check the directory for new file:

ls (to display entire file/folder)

then move the new file to TweedleDee directory

mv ~/UnixCourse/fileAsst/'name of file' ~/UnixCourse/fileAsst/TweedleDee

we then rename the file to rabbit.dat

mv ~/UnixCourse/fileAsst/TweedleDee/'name of file' ~/UnixCourse/fileAsst/TweedleDee/rabbit.dat

cd .. (this is to go back to the fileAsst directory)

The command below is executed as required:

~/cs252/bin/fileAsst-2

You might be interested in
Which document would most likely be written in an informal style?
Masteriza [31]

Answer:

An advertisement for sportswear

Explanation:

An advertisement for sportswear would most likely be written in an informal style.

6 0
3 years ago
What is Key benefit of using ram in a computer
deff fn [24]
There is not really a key benifit, but it does help with little things.
7 0
3 years ago
What does the abbreviation gps mean?
MissTica
GPS stands for Global Positioning System
5 0
3 years ago
Read 2 more answers
Phil wants to add a new video card, and he is sure the power supply is sufficient to run the new video card. But when he tries t
pshichka [43]

Answer:

Using a SATA to a 6 pin PCI-E adapter.

Explanation:

sometimes you may feel the need to make some upgrades to your computer, video cards are options where an upgrade is made, a 6 Pin PCI-E adapter is 6 pins 12V power adapter used to power a video card where their slots cannot provide them with enough power they require. in a situation where the card requires a lot of power than the slot can provide, 6 pins PCI-E adapter is a very good option.

4 0
3 years ago
What does filtering a record do?
Vedmedyk [2.9K]

Answer:

It sorts all the data in record.

Explanation:

third one is verified

3 0
2 years ago
Other questions:
  • What would I need to make the perfect music video
    10·1 answer
  • The Table Tools tab provides which two additional tabs?
    5·1 answer
  • What did Charles Babbage design in 1822 to substitute values in polynomial equations? ENIAC TRADIC Analytical Engine Difference
    6·1 answer
  • I need to know thr full number of pie
    8·1 answer
  • What color mode would you use when designing for web & devices?
    9·1 answer
  • You have just read about a new security patch that has been made available for your Windows system, so you install the patch as
    6·1 answer
  • What is the purpose of the website directory provided by the website host?
    5·1 answer
  • A Consider the following method definition. The method printAllCharacters is intended to print out every character in str, start
    11·1 answer
  • Please what do you guys think about this ?
    10·2 answers
  • Data is stored on ________ using a laser to either melt the disc material or change the color of embedded dye.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!