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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

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

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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