You are on page 1of 6

Submitted By: Sandeep Pradhan (BIT 4th SEM)

Submitted To: Aashish Acharya Sir (Lecturer)

Date: May1, 2021 ID Number: 00018676

1| page
Task 1:

Complete the following instructions.

1. Open new terminal and log in to server1 as with a password .

2. In user’s home directory Create a new directory named Files. Copy file1.File10 created before in this
directory.

3. Copy files Assignment1, Assignment2, LectureNotes, LabActivity and ClassTimetable to directory


SubjectsJan2016.

4. Copy file WeekendActivity to directory Activity.

5. Rename file2..File10 to myFile2..myFile10. Verify the files was renamed by entering ls -l.

6. Rename directory Activity to CampusActivity. Verify the files was renamed by entering ls -l.

7. Move myfile5 in directory Files to directory CampusActivity. Verify by entering ls -l.

8. Move and rename the file myFile4 to directory SubjectsJan2016 with file name Quiz.

2| page
1. Open new terminal and log in to server1 as with a password.

Result: by entering password and Open new terminal and log in to server1 as with a password.

2. In user’s home directory Create a new directory named Files. Copy file1.File10 created before in this
directory.

Result: by using cp command. Here, we create a new directory named Files and Copy file1.File10 created
before in this directory.

3| page
3. Coin py files Assignment1, Assignment2, LectureNotes, LabActivity and ClassTimetable to directory
SubjectsJan2016.

Result: by using cp command, here, we Copy files Assignment1, Assignment2, LectureNotes, LabActivity
and ClassTimetable to directory SubjectsJan2016.

4. Copy file WeekendActivity to directory Activity.

Result: by entering cp command. Here, we Copy file WeekendActivity to directory Activity.

4| page
5. Rename file2..File10 to myFile2..myFile10. Verify the files was renamed by entering ls -l.

Result: by using mv command. Here, we rename file2..File10 to myFile2..myFile10. and Verify the files
was renamed by entering ls –l.

6. Rename directory Activity to CampusActivity. Verify the files was renamed by entering ls -l.

Result: by using mw command. Here, we rename directory Activity to CampusActivity and Verify the files
was renamed by entering ls –l.

5| page
7. Move myfile5 in directory Files to directory CampusActivity. Verify by entering ls -l.

Result: by using mv command to move myfile5 in directory Files to directory CampusActivity and Verify
by entering ls -l.

8. Move and rename the file myFile4 to directory SubjectsJan2016 with file name Quiz.

Result: by suing move command. Here, we . Move and rename the file myFile4 to directory
SubjectsJan2016 with file name Quiz.

6| page

You might also like