Below is the code int main() { int fd1, fd2; struct stat buff1, buff2; fd1 = ope
Below is the code int main() { int fd1, fd2; struct stat buff1, buff2; fd1 = open(“1.txt”, O_RDWR); fd2 = open(“2.txt”, O_RDWR | O_APPEND);…
With the help of proc filesystem
With the help of proc filesystem
Which one shows the name of the operating system?
Which one shows the name of the operating system?
Which signal is generated when we press ctrl-Z?
Which signal is generated when we press ctrl-Z?
Which option of the kill command sends the given signal name to the specified pr
Which option of the kill command sends the given signal name to the specified process?
Which of the following enables multi-tasking in UNIX?
Which of the following enables multi-tasking in UNIX?
Proc filesystem provides the information about
Proc filesystem provides the information about
From where would the read statement read if the following statements were execut
From where would the read statement read if the following statements were executed? exec < file1 exec < file2 exec < file3 read line
The command “cd /proc/10/cwd” provides the
The command “cd /proc/10/cwd” provides the
Which file shows the parameter passed to kernel at the time of starting?
Which file shows the parameter passed to kernel at the time of starting?
What is the output of this program? #!/bin/sh test_function1() { a=5 echo “This
What is the output of this program? #!/bin/sh test_function1() { a=5 echo “This is the first function” test_function2 } test_function2() { echo “This is…
In GCC compiler, “-shared” option is given to create the shared library with
In GCC compiler, “-shared” option is given to create the shared library with