You are on page 1of 17

B. K.

BIRLA COLLEGE OF ARTS, SCIENCE &


COMMERCE (AUTONOMOUS), KALYAN
(Affiliated to University of Mumbai)

KALYAN-MAHARASHTRA-421301

DEPARTMENT OF INFORMATION TECHNOLOGY

Name: RUSHIKA WAMAN KHAWAS

Roll No.: 57

Class: SY Bsc IT

Div: A

Subject: Modern Operating Systems Practical


B. K. BIRLA COLLEGE OF ARTS, SCIENCE & COMMERCE
(AUTONOMOUS), KALYAN
(Affiliated to University of Mumbai)

KALYAN-MAHARASHTRA-421301

DEPARTMENT OF INFORMATION TECHNOLOGY

CERTIFICATE

This is to certify that Rushika Waman Khawas bearing Seat. No: 36231055, in class S.Y.
B.Sc.I.T. has successfully completed practical of the subject Operating System.

Teacher’s Signature: ____________________

Place: Kalyan
Date: 06-11-2023
College Seal
INDEX

Sr. No. Practical Name Date Sign

1.
Installation of virtual machine Software.

2. Installation of Linux Operating System


(RedHat/Ubuntu)

3. Installation Windows Operating System


on Virtual Machine.

4.
Windows (DOS) Commands – 1

5. Windows (DOS) Commands – 1.1


I.
1. Installation of virtual machine software.
Step 1:
To download and install the VMware product, visit the official website of
VMware.

https://www.vmware.com/in.html
Hover on the Downloads tab Select the version according to OS.

Step 2:

Click on Free Product Trials & Demo >> Workstation Pro. You will be redirected
to the download page.
Click on Download Now according to your Operating System.
We have chosen Workstation 15 Pro for Windows.
While downloading, ensure you have a proper internet connection, as the file
may be large.

Step 3:
Once the download is complete, run the .exe to install VMware Workstation.
A popup will appear.

Step 4:
Once Initialization gets completed, Click on Next.
2. Installation of Linux Operating System. (RedHat/Ubuntu).
→ Alternative to Virtual Machine is Using Windows subsystem for Linux from command
prompt.
Then download Ubuntu from the Store. Give username and password And start with
write commands
● man 2 write (if not found then go to next command.)
● sudo apt-get update
● sudo apt-get install gcc
● man 2 write
For write system call:- nano w.c
This will open the code editor… type the code :
#include<unistd.h>

int main()
{
write(1,"Hello\n",6);
}

…Do some modifications:


#include<unistd.h>
#include<stdio.h>
int main()

{
int n;
n=write(1,"Hello\n",6);
printf("value of n is %d\n",n);

}
…and save using shortcut keys Ctrl+X, → type Y, then press enter key)
● gcc w.c (is the compiler of Linux)
● ./a.out (is the command to get the output)

Then go on with read system call:

● man 2 read
● nano r.c
Type the foll command:
#include<unistd.h>

int main()

char b[30];

read(0,b,10);

write(1,b,10);

Modify…
#include<unistd.h>

int main()

int n;

char b[30];

n=read(0,b,30);

write(1,b,n);

…and save using shortcut keys Ctrl+X, → type Y, then press enter key)
● gcc r.c (is the compiler of Linux)
● ./a.out (is the command to get the output)
3. Installation Windows Operating System on Virtual Machine.

Process to Install Windows 10 in a virtual machine using Windows 10 ISO disc imagw:
Follow the below steps to install Windows 10 in a virtual machine using Windows 10
ISO disc image in VMware Fusion using the Easy Install method:
1. In the Fusion menu bar, go to File > New. The New Virtual Machine Assistant
starts.

2. Select Install from Disc or Image for the Installation Method.

3. Click on Continue.
4. Click Use another disc and disc image for the Choose an operating system
installation disc or image option.

5. Browse to the folder where the downloaded ISO disc image is located.

6. Select the Windows 10 ISO disc image and click Open.

7. In the Operating System panel, ensure that the Operating System is set to
Microsoft Windows and Version is set correctly to Windows 10 or Windows 10
64-bit, depending on whether it is 32-bit or 64-bit that you are trying to install.

8. Click Continue.

9. In the Windows Easy Install screen, Select the Use Easy Install option.

10. Enter the Account Name, Password (optional) and Windows Product Key.

Note: The entry in the Password field is the password for the Windows
administrator account only. VMware does not provide the Windows product
key. The Windows product key is provided to you by Microsoft in the email
that you received after you purchased Windows 10.

11. Click Continue.

12. Select the appropriate integration in the next screen.


13. Click Continue

14. If you want to modify any of the settings, such as memory (RAM), CPU, or hard
disk size, click Customize Settings and save the virtual machine to specify the
non-default values.

15. Click Finish to save the virtual machine. The installation begins.

After the installation completes, it automatically installs VMware Tools. Restart the
virtual machine when prompted.
4. Windows (DOS) Commands – 1.
(Date , Time , Prompt, md, cd, rd, path)

Steps to perform:
Open Command Line / Command Prompt in any Windows OS

(Run as Administrator)
Type the Following commands one by one in cmd:
1. First check whether you are in C drive users -

2. Date /t -

3. Date (you get option to change date after this command) -

4. Time /t -

5. Time -

6. cls (clear Screen) -

7. prompt $p$g=Time$t -

8. Exit (incase you want to exit cmd)


9. cd.. –

10. cd users –

11. cd “folder name of users” –

12. cd desktop –

13. md text –

14. md a b c –

15. rd text –

16. rd a b c –
17. path –

18. Chkdsk –
5. Windows (DOS) Commands – 1.1.
(Chkdsk, copy, xcopy, format, fidsk, cls, defrag, del, move.)

In new folder on desktop create a new text file(Containing any simple statement
like:test file) name it as “test1.txt” just to test the following commands:

1. Using the cd command go into that folder :-

2. copy test1.txt test2.txt :–

3. xcopy test2.txt test3.txt :–

Then try some more commands:


1. DEFRAG c: -a :-

2. Del test1.txt :–

3. Del test2.txt test3.txt :-

4. Create one more text file(test.txt) in same folder and one more folder (named as
testf) in it: then type in cmd- move test.txt testf/ {So by this cmd the txtfile will be
moved to the folder}

You might also like