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
whats the use of using ipc

When programming with threads, there are three very common mistakes that programmers often make: 1. locking twice (depending on the system and type of lock, can cause crashes, h

How does user specify block to be fetched in direct access? By specifying the relative block number, relative to first block in file, which is block 0.

Suppose a logical address space is 1KB, and the page-size is 16 bytes. Assume no page is in the main memory for this process initially and the pure demand paging is used. Current f

What are files and explain the access methods for files? File definition Attributes, operations and types Direct access Sequential access with diagram Other access

What are race conditions? Race conditions are problems that take place due to the sharing of the same file by several processes. In such a case none of the processes is able to

An operating system act as an intermediary between user of a computer and computer hardware. The objective of an operating system is to provide an environment in that a user can ex

Gopher Gallery consists of a shopping mall and a cart ride that covers  the 150 acre habitat. There are m visitors and n single-person vehicles. Visitors  stroll around the mall at

Can you please explain in easy words how input output protection works

Q. What protection problems may occur if a shared stack is used for parameter passing? Answer: The contents of the stack could be conciliation by other process(es) sharing th