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 of the following statements is correct?
vaieri [72.5K]

Answer:

A

Explanation:

I think is A. or maybe search up the topic of the lesson

7 0
3 years ago
What Active Directory object enables an administrator to configure password settings for users or groups that are different from
e-lub [12.9K]

Answer:

Password Settings object

Explanation:

Active Directory is made up of different services that are aimed at handling the access and permissions to resources over a network. It was developed by Microsoft and was originally used for centralized domain management but has evolved past that now.

In AD, the data stored are also known as Objects, these objects can be

  1. users or a group that has been given passwords and/or
  2. resources such as computers or printers.
  3. Organizational Units (OUs)

The object responsible for handling the configuration of passwords configuration is the Password Settings object.

Here, all settings relating to password setup, configuration, reset and so on takes place here. The settings can be applied to groups or users which can show the complexity, length, history of the password and so on.

8 0
3 years ago
Where is the fill handle located
Ronch [10]
The fill handle will appear as a small square in the bottom-right corner of the selected cell(s). Click, hold, and drag the fill handle until all of the cells you want to fill are selected. Release the mouse to fill the selected cells
4 0
2 years ago
What keeps unauthorized internet users out of private intranets?
Kruka [31]
I think coders put in codes. Sry if that does not help.
8 0
3 years ago
The marvelous attribute about the gaming industry is that you can create a game in several different programming languages to ma
LenaWriter [7]

Answer:

D syntax

Explanation:

The marvelous attribute about the gaming industry is that you can create a game in several different programming languages to make it more appealing to novice and advanced-level coders. Yet, the unique distinction is that every single programming language has its own syntax.

7 0
2 years ago
Other questions:
  • The Microsoft-NanoServer-Guest-Package installs the drivers necessary for installing Nano Server as a host OS on a physical mach
    15·1 answer
  • Write an application named [LastName]_MultiplicationTable and create a method that prompts the user for an integer value, for ex
    11·1 answer
  • Smart art can be used to create _____that highlights relationships betweeen two items
    8·2 answers
  • Assume that we have an application with a total of 500,000 instructions where 20% of them are the load/store instructions with a
    14·1 answer
  • Victor works for a telemarketing company that is on a very tight budget. He has been tasked with finding a method for the compan
    7·2 answers
  • What does aperture control? A)amount of light the image sensor captures when taking a photo. B)how sensitive the camera is to in
    10·2 answers
  • Design 3 classes: Computer - Superclass
    11·1 answer
  • Block elements start a new line when rendering? (true or false)
    7·1 answer
  • Electronic mail is best used to:
    5·2 answers
  • Explain the bad effect and good effect of mobile phone and internet.<br>​
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!