0% found this document useful (0 votes)
45 views1 page

Linux Commands & gedit Lab Guide

The document outlines a lab assignment focused on working with Linux commands, including tasks such as creating directories, renaming files, moving files, and removing contents. It provides specific instructions to replicate a directory structure and perform various file management operations. Additionally, it mentions an introduction to the gedit editor and executing source code.

Uploaded by

Ishaan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Linux Commands & gedit Lab Guide

The document outlines a lab assignment focused on working with Linux commands, including tasks such as creating directories, renaming files, moving files, and removing contents. It provides specific instructions to replicate a directory structure and perform various file management operations. Additionally, it mentions an introduction to the gedit editor and executing source code.

Uploaded by

Ishaan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Lab Assignment-2

Lab 2. Working with Linux Commands


1. Introduction to the Linux operating system and its commands (cd, mv, mkdir, cp, rm,
cat, ls, mv, pwd).

Fig.1
Refer the directory structure shown in Fig-1. Accomplish the following tasks, in sequence.
a. Create the directory structure as in Fig-1 in your home directory.
b. Rename each file in Personal with the prefix P. i.e. the file accounts in Personal
directory should be renamed as Paccounts.
c. Move the file named Paddress to a newly created directory in Myhome from its
current location.
d. Create a directory Backup under Myhome directory and move all the contents of
Personal into Backup.
e. Remove all the contents of Personal directory.
f. Now rename the Backup directory as Personal.
2. Understanding the gedit editor & execution of source code.

You might also like