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

Explain two level directory, Two Level Directory This kind of structure...

Two Level Directory This kind of structure overcomes the problems of assigning unique names to the files. Thus there need not be any confusion among users. In this kind of s

Define implementation of segmentation with an example, IMPLEMENTATION OF SE...

IMPLEMENTATION OF SEGMENTATION WITH AN EXAMPLE Segmentation is a memory-management scheme that represents the user view of memory. A logical address space is the collection of

Explain single-user systems, We have stressed the need for an operating sys...

We have stressed the need for an operating system to make efficient use of the computing hardware. When is it appropriate for the operating system to forsake this principle and to

Computer number systems, Binary number based systems   Binary is a  ' base...

Binary number based systems   Binary is a  ' base 2' number system, only two numbers exist namely '0' and '1'. Conversion from binary to base 10 is easy if the number column techn

What is thrashing, What is thrashing? It is a method in virtual memory...

What is thrashing? It is a method in virtual memory schemes when the processor spends most of its time swapping pages, rather than implementing instructions. This is because o

Is the internet a lan or else a wan, Q. Is the Internet a LAN or else a WAN...

Q. Is the Internet a LAN or else a WAN? Answer: The Internet is a WAN as the a variety of computers are located at geographically different places and are connected by long-dis

Developing code with threads, Developing Code with Threads Writing code...

Developing Code with Threads Writing code to support a thread-based implementation is very straightforward. Simple APIs are presented to the developer for each threads package.

Tlb replacement algorithm, Suppose a logical address space is 1KB, and the ...

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

Explain hierarchical paging method, Hierarchical paging method Most mo...

Hierarchical paging method Most modern computer systems maintain a large logical-address space. In this situation the page table itself turns into excessively large. To remedy

Explain about time sharing systems, Q. Explain about Time Sharing Systems? ...

Q. Explain about Time Sharing Systems? Time Sharing Systems Multi-programmed batched systems provide an environment where various system resources (for illustration CP

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