0% found this document useful (0 votes)
21 views10 pages

Operating System Labtask

This document contains a lab assignment submitted to the Computer Science Department at Shaheed Zulfikar Ali Bhutto Institute of Science & Technology. The assignment includes code snippets and output from 6 programs that demonstrate the use of exec functions like execv, execl, execle, and execvp in C to launch processes. The student submitted their name, registration number, and the course and institution for grading and feedback.

Uploaded by

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

Operating System Labtask

This document contains a lab assignment submitted to the Computer Science Department at Shaheed Zulfikar Ali Bhutto Institute of Science & Technology. The assignment includes code snippets and output from 6 programs that demonstrate the use of exec functions like execv, execl, execle, and execvp in C to launch processes. The student submitted their name, registration number, and the course and institution for grading and feedback.

Uploaded by

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

Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Total Marks: _____________

Obtained Marks: _____________

Operating Systems
(LAB)
(LAB TASK)

Submitted To:
__________________________________________________________________________

Student Name:
__________________________________________________________________________

Reg. Number:
___________________________________________________________________________

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

1. File: execv.c

CODE:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

File: hello.c

CODE:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

2.File: Execl.c

CODE:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

3.File: Execlp.c

CODE:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

4.File: execl.c

CODE:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Execvp.c

Code:

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Excevp.c

Code:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Output:

Operating Systems BSCS-5B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology

COMPUTER SCIENCE DEPARTMENT

Operating Systems BSCS-5B SZABIST-ISB

You might also like