Unix and linux commands, Operating System

Assignment Help:

To explore the UNIX file system, use basic UNIX commands and use a text editor.

Task:

 1.      Logon to Linux.

909_Unix.png

2.      Create a directory "Unix" under your home directory.

Command(s): .................................................

3.      Create four sub-directories bin, conf, docs and data under the directory "Unix" created by you in step 2. See the directory diagram below:

Command(s): .................................................

4.      Create the document called "sed-info" in your "Unix" directory using touch command.

Command: .................................................

5.      Create the document called "join-info" in your "Unix" directory using touch command.

Command: .................................................

6.      While in the Unix directory, move the files "sed-info" and "join-info" to directory "docs" using a single UNIX command.

Command: .................................................

7.      Change to your home directory.

Command: .................................................

8.      Use a single command to rename and move the "sed-info" from the "docs" directory to the "bin" directory.

Command: .................................................

9.      Change to the data directory.

Command: .................................................

10.  While in the data directory create a command that would copy the "sed-info" from the "bin" directory and "join-info" from the docs directory to the "conf" directory using a) absolute paths and b) relative paths.

Command (relative path): .................................................

Command (absolute path): .................................................

11.  Move to your home directory. Create a single command that would delete the Unix directory and all the files and subdirectories of the Unix directory.

Command: .................................................


Related Discussions:- Unix and linux commands

Why global variables are unacceptable, Why Global variables are unacceptabl...

Why Global variables are unacceptable Global variable, for instance, are unacceptable because they break the rules of self - containment. If all procedural components are runni

PSEUDO CODE FOR PROGRAM, THE PROGRAM WILL CHOOSE TWO RANDOM NUMBERS,THEN PR...

THE PROGRAM WILL CHOOSE TWO RANDOM NUMBERS,THEN PRINT THEM OUT AS AN ADDITION PROBLEM.THE PROGRAM WILL THEN ASK THE USERTO ENTER THE CORRECT ANSWER.IF THE ANSWER IS CORRECT,THE PRO

Necessary conditions for deadlock, Here are the conditions necessary for a ...

Here are the conditions necessary for a deadlock to occur; note that all of them are necessary, and none is suf?cient: 1. ?nite resources: the resources are held in a mutually-e

What is the use of FIFOs in client-server applications, What is the use of ...

What is the use of FIFOs in client-server applications

Define program preemption, Define Program preemption The Forced de-allo...

Define Program preemption The Forced de-allocation of the CPU from a program which is executing on the CPU is known as Program preemption

What is scheduler, What is scheduler? A process migrates among the vari...

What is scheduler? A process migrates among the various scheduling queues throughout its life time. The OS must choose processes from these queues in some fashion. This selecti

Define secondary memory, Define secondary memory. This memory holds tho...

Define secondary memory. This memory holds those pages that are not there in main memory. The secondary memory is usually a high speed disk. It is called as the swap device, an

Describe the purpose of the checkpoint mechanism, Describe the purpose of t...

Describe the purpose of the checkpoint mechanism. How habitually must checkpoints be performed? Explain how the frequency of checkpoints affects: System performance while no

Producer-consumer, The general idea of a producer-consumer architecture is ...

The general idea of a producer-consumer architecture is related to building a pipeline of threads, similar to the web spider from Project 2. Each step of the processing will now be

Write Your Message!

Captcha
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