LINUX COMMANDS BASIC LINUX COMMANDS SIMPLE FUNCTIONS SIMPLE FUNCTION USING SHELL EMPLOYEE PAYROLL SHELL PROGRAMS USING BASIC TEST...
Showing posts with label Operating Systems Lab. Show all posts
Showing posts with label Operating Systems Lab. Show all posts
UNIX C Program for Segmentation | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Segmentation in CS1254 - Operating Systems Laboratory . SOURCE CODE: #in...
UNIX C Program for Page Replacement Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Page Replacement Algorithm in CS1254 - Operating Systems Laboratory . SOU...
UNIX C Program for Paging | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Paging in CS1254 - Operating Systems Laboratory . SOURCE CODE: #include&...
UNIX C Program for Best fit, First fit, Worst fit | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Best fit, First fit, Worst fit in CS1254 - Operating Systems Laboratory ....
UNIX C Program for Banker's Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Banker's Algorithm in CS1254 - Operating Systems Laboratory . SOURCE ...
UNIX C Program for Producer Consumer Algorithm using Semaphore | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Producer Consumer Algorithm using Semaphore in CS1254 - Operating Systems L...
UNIX C Program for Semaphore | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Semaphore in CS1254 - Operating Systems Laboratory . SOURCE CODE: #inclu...
UNIX C Program for Round Robin Scheduling Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Round Robin Scheduling Algorithm in CS1254 - Operating Systems Laboratory ....
UNIX C Program for Priority Scheduling Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Priority Scheduling Algorithm in CS1254 - Operating Systems Laboratory . ...
UNIX C Program for Shortest Job First Scheduling Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of Shortest Job First Scheduling Algorithm in CS1254 - Operating Systems L...
UNIX C Program for First Come First Serve Scheduling Algorithm | CS1254-Operating Systems Lab
Operating Systems Lab
AIM: To write a LINUX/UNIX C Program for the Implementation of First Come First Serve Scheduling Algorithm in CS1254 - Operating Systems La...
GREP COMMAND
Operating Systems Lab
SOURCE CODE: [examuser35@localhost Jebastin]$ cat>god god is great god is present everywhere [2]+ Stopped cat>god...
LS COMMAND
Operating Systems Lab
SOURCE CODE: echo “ TO DISPLAY LIST OF FILE ” echo “ 1) ls ” echo “ 2) ls-al ” read choice case $choice in 1)la;; 2)la-al;; *)echo “...
DIRECTORY MANIPULATION- READ DIR,OPEN DIR
Operating Systems Lab
SOURCE CODE: #include<stdio.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<sys/di...
FILE MANIPULATION- OPEN,READ,WRITE
Operating Systems Lab
SOURCE CODE: #include<stdio.h> #include<unistd.h> int main() { int fd_in,fd_out,n bytes; char buf[512]; fd_in=open(“outpu...
PROCESS CREATION USING WAIT COMMAND
Operating Systems Lab
SOURCE CODE: #include<stdio.h> main() { int pid; pid=fork(); if(!pid) { printf(“ \n Child process\n ”); printf(“ getpid(): %d...
PROCESS CREATION USING GETPID,SLEEP,EXEC COMMANDS
Operating Systems Lab
SOURCE CODE: #include<stdio.h> #include<unistd.h> main() { int pid; pid=fork(); if(pid<0) { printf(stderr, “fork fai...
PROCESS CREATION USING FORK,EXEC COMMANDS
Operating Systems Lab
SOURCE CODE: #include<stdio.h> int main() { int p; printf(“ Origin Program, pid = %d\n ” , getpid()); p=fork(); if(p==0) { pr...
SWAPPING
Operating Systems Lab
SOURCE CODE: echo “ First value ” read a echo “ Second value ” read b temp=$a a=$b b=$temp echo “ The swapped value: ” echo “ Firs...
Subscribe to:
Posts (Atom)