Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
problem1 redirect the output of forkc to a file and explain the change in behavior2 create a shell script that prints
problem1 write a program that displays all environment variables2 write a program that sets an int variable x to 100
problem1 what is the significance of the stack and heap segments in the address space of a process view the man page of
problem1 a file may have more than one vnode table in memory true or false2 write a program that uses write to output
problem1 write a program that accepts two small numbers lt 50 as arguments and then sums the two in a child process the
problem1 write a program that forks twice display the pids and ppids of all three processes2 write a program that
problem1 why do we say that the address space of a process is virtual which segment of the address space do you think
problem1 what does the exit command do why doesnt it log you out when run in your login shell like this exit 2 the
problem1 what are signals name two ways of generating signals from the keyboard why should we use kill with signal
problem1 what is a zombie and how is it killed2 explain whether the following are true or falsei a script can be made
problem1 which process do you think may have the maximum number of children what is its pid can you divide its children
problem1 explain the significance of this command ps -e wc -l2 explain the attributes of daemon processes using three
problem1 should you run a command like this nohup computesh2 the jobs command displayed the message jobs not found when
problem1 how will you find out the complete command lines of all processes run by user timothy2 run ps with the
problem1 what is the significance of the pid and ppid without using ps how do you find out the pid of your login shell2
problem1 write a program that removes the read write and execute permissions for others for all files in the current
problem1 write a program that moves a group of ordinary files to a directory the filenames are provided as arguments
problem1 write a program to split the contents of a file specified as argument into multiple files so that each file
problem1 write two programs that read etcpasswd usingi a single-character bufferii a buffer of 2048 bytes with read use
problem1 write a program that copies a file using the source and destination as arguments the destination can also be a
problem1 write a program that accepts a directory name as argument changes to that directory and displays its absolute
problem1 write a program that uses a filename as argument and displays its contents in uppercase2 write a program thati
problem1 write a program that ascertains the size of the file descriptor table by opening a file repeatedly display the
problem1 explain the difference between system calls and library functions what happens in the cpu when a system call
problem1 execute the command ls gt newlist what interesting observation can you make from the contents of newlist2 how