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

Define a linker program, Define a linker program  A linker program lin...

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

Explain about error detection method, Q. Explain about Error detection meth...

Q. Explain about Error detection method? Error detection: error can occur in CPU, in I/O devices or in memory hardware. Operating system constantly needs to be aware of possi

Explain about paging, Explain about paging? Answer: Paging is a memory-...

Explain about paging? Answer: Paging is a memory-management scheme that permits the physical-address space of process to be noncontiguous. Paging avoids the considerable proble

Define properties of distributed operating system, Define properties of Dis...

Define properties of Distributed operating system Distributed:- This system distributes computation among several physical processors. The processors do not share memory or a

What is meant by the term affinity in processor sheduling, Question: (a...

Question: (a) Answer the following questions based on the code snippet below. 1. int main (int argc, char *argv[]) 2. { 3. 4. pid_t processId; 5. 6. processId =

What are the various layers of a file system, What are the various layers o...

What are the various layers of a file system? The file system is composed of many dissimilar levels. Each level in the design uses the feature of the lower levels to make new f

What are the advantages of indexed allocation, What are the advantages of I...

What are the advantages of Indexed allocation? The benefits are a. No external-fragmentation problem b. Solves the size-declaration problems. c. Supports direct access

Designing issues in a network -transparency, Transparency Users mus...

Transparency Users must be able to access remote resources as though these resources were local. Transparency should as well promote user mobility. Users must be allowed

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