Create a subdirectory backup

Assignment Help Computer Engineering
Reference no: EM132080087

Need help solving those issues

1. From my personal directory currently I'm trying to use "cd" command to change to the following directories one by

a. /bin

b./etc/apm/resume.d/temp

c. /etc/apm/event.d (use relative path)

d. The "Documents" directory under your personal directory

- I've tried cd /bin for a is ok

- for b, cd /etc/resume.d/temp give me "no such file or directory" same as cd ../apm/event.d for c.

2. Assume that the following files are in the working directory:

$ ls

intro notesb ref2 section1 section3 section4b

notesa ref1 ref3 section2 section4a sentrev 2

using wildcards to do the following

List all files that begin with "section".

List "section1", "section2", and "section3" 3 files only.

List the "intro" file only.

List "section1", "section3", "ref1", and "ref3" 4 files only.

Don't seems to find those files using different command and going to different directories.

Here I am not sure If I should create those files first in my working directory

3. File copy, move, and removal. Use one command to finish each step. You should not use "cd" command at all.

-Under your home directory, create a new text file using your campus email id as the file name.

- Create a copy of the file in the same directory using any name you like.

- Create a subdirectory "backup".

- Move the original file to "backup" and rename it using your first name.

- Create a copy of the "backup" directory (and all file in it); name it "backup2".

- Delete "backup".

- Rename "backup2" to "backup3".

-List the files in the new directory.

4. Link

a) Go to your "Documents" directory;

b) Create a file "file1" with the text "hello" in it;

c) Create a hard link named "file2" linked to "file1";

d) Create a soft link named "soft1" linked to "file1"; create another soft link named "soft2" linked to "file2".

e) View information of the 4 files (what command should you use to produce some output same to the figure below) - what's the difference of these 4 files?

f) Are contents of the 4 files the same? What command do you use to verify that?

g) Create a hard link "file3" linked to "soft1".

) Use a text editor (Nano or VIM) to edit "soft2": change "hello" to "hello, world". Now, what is the content in each of the 5 files? Are they the same? What if you change the text in any of these files?

i) Rename "file1" to "change". Now, how many files can you still open and view the content? Use the same command you used in step e) to view file information. What's the change?

j) Use a text editor to edit "file3": type "Linux" and save. Now what will happen? Which files share the same content? Why?

k) List all files you have now (use the -l option).

Reference no: EM132080087

Questions Cloud

What command can write to print out the value of second : In a Bourne shell script, what command can write to print out the value of second argument from command line?
Expressions for the dissolution of calcium fluoride : 1) Among the following equilibrium expressions for the dissolution of calcium fluoride (CaF2) in water... the correct expression is?
Process of information searching in design : ENGINEERING DESIGN - DESIGN SPECIFICATION - DESIGN PARAMETERS AND INFORMATION - Teesside University - Why is knowledge of materials properties essential
What range of bit rates can be supported to have flat fading : Suppose a wireless channel has a coherence bandwidth of 100 kHz. What range of bit rates can be supported to have flat fading?
Create a subdirectory backup : Create a copy of the file in the same directory using any name you like. Create a subdirectory "backup".
Write the code below the code should be in python : Use self._rightOperand.value() to get the value of its right operand. self._operator contains the operator type.
Define a class for representing a distance : Define a class for representing a distance (with one attribute that represents the distance in inches).
Using visual basic to create a webpage that has functions : You need a form where you can add brownie points to their total points when they have done something great, or deduct points when necessary.
What are the states of nature and social contracts : What are the states of nature and social contracts in the philosophies of Hobbes, Locke, and Rousseau? How are they similar and how are they different?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe how risk management alternatives are developed

Explain how the fundamentals concepts and principals of Risk Management apply at home, at work, in the community, and at critical infrastructure locations.

  Design and populate tables within a database

Employees all have employee ID's, first names, last names, middle initials, street addresses, city, state, postal codes, and a date of birth.

  What are the limitations of synthetic benchmarks

What are the limitations of synthetic benchmarks such as Whetstone and Dhrystone? Do you think that the concept of a synthetic benchmark could be extended to overcome these limitations? Explain your answer.

  What does user think about awareness in collaborative design

What does the user think about "awareness" in collaborative design? How they describe that shift to support coordination or even online creative collaboration.

  Compute the geometric mean for the given example with asc

Compute the geometric mean for the Example with ASC3 as the reference. Are the relative performances same as in Example?

  Assignment covers the following eight topics and explore

assignment covers the following eight topics and explore the implementation of memory management processes and threads.

  Implementing the c++ code

Write down a C++ code in order to. implement the following application. Make sure to describe all the variables which you will use.

  Write the advantages of star and delta connected systems

Write the advantages of star and delta connected systems.

  Discuss business case for the use of the technology

The paper should propose a fictional company then incorporate their findings from their research and justify a business case for the use of the technology

  Write a tic-tac-toe game that allows a human player to play

Write a tic-tac-toe game that allows a human player to play against the computer. Your program will play many turns against a human opponent, and it will learn.

  Make a stacked bar chart that shows the total cost

Make a stacked bar chart that shows the total cost, including the design, implementation, and maintenance costs over an expected system life of seven years.

  What functions would such an embedded system control

What functions would such an embedded system control? What functions of normal desktop or laptop operating system would NOT be found in such an embedded system?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd