Unix and linux commands, Operating System

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: .................................................

Posted Date: 3/19/2013 1:57:15 AM | Location : United States







Related Discussions:- Unix and linux commands, Assignment Help, Ask Question on Unix and linux commands, Get Answer, Expert's Help, Unix and linux commands Discussions

Write discussion on Unix and linux commands
Your posts are moderated
Related Questions
What is a file? A file is a named collection of related information that is recorded on secondary storage. A file having either programs or data. A file has particular "structu

What are the various disk-scheduling algorithms? The several disk-scheduling algorithms are a. First Come First Served Scheduling b. Shortest Seek Time First Scheduling

LRU page replacement In slightest recently used page replacement algorithm we will replace that page that hasn't been used for the longest period of time. This is similar as an

Optimal page replacement An optimal page replacement algorithm has the least page fault rate of all algorithms. The algorithm states that a 'replace the page that will not be

RESOURCE ALLOCATION GRAPH When a process Pi wishes an instance of resource type Rj, a request edge is inserted in the resource allocation graph. When this request is able to be

What is virtual file system? A Virtual file system switch (VFS) or Virtual file system is an abstraction layer   on top of a more concrete file system. The purpose of a VFS

What is banker's algorithm? Banker's algorithm is a deadlock avoidance algorithm that is applicable to a resource-allocation system with multiple examples of each resource type

what is hashed page tables & explain of there work & figure

In this exercise we are going to use  pthread()to simulate the dynamics between a warehouse, factory and retail. The factory produces product by using parts supplied by the warehou

Define a linker program  A linker program links the program along with other programs required for its execution.