Lab 01 - OS
Lab 01 - OS
LAB 01 – OS
Course: OPERATING SYSTEM
Instructor: Luong Duy Hieu, [email protected]
Exercise 1:
In the console or terminal window, type the following LINUX commands on the command line.
$ ls
Execute the following command and explain the meaning of each of them.
• ifconfig
In your home folder, create a folder tree as following. Note that, the rectangular describes a folder and
the circle represent for a file. You can add any information into your created files.
Home folder
Semester1 Semester2
OS NW Java SR
Hello.java
- Create file Hello.java in folder Java and add whatever you want into that file.
Exercise 4:
- Create a file named user.txt. Then, you add n usernames (each in one line, n>=5).
- Display list of n sorted usernames in your file and store that sorted list into a new file named
suser.txt
Submission:
You should capture the result screen of each exercise and include in your completed file.
Create the directory with a name like <class>-<name><roll number>-Lab-01,
e.g. SE0412-QuangTV00456-Lab01
Copy all your exercise files to that folder.
Compress the folder to .zip file (with the same name) and upload to CMS.