adplus-dvertising
frame-decoration

Question

Which one of the following command is used to create a child shell?

a.

fork

b.

wait

c.

sh

d.

env

Posted under Unix Shell UNIX

Answer: (c).sh

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following command is used to create a child shell?

Similar Questions

Discover Related MCQs

Q. Shell variables are of ____ types.

Q. Suppose ABD_DIR is a local variable. Then it will be accessible to the child process.

Q. ____ command is used to display the environment variables only.

Q. Which symbol is used for setting the PS1 prompt to show the current event number?

Q. set command by default displays the variables in the current shell.

Q. Which one of the following keyword is used with the set command to avoid overwrite existing file?

Q. To prevent accident logging out, we can use ____ as a keyword with the set command.

Q. Which of the following features of UNIX may be used for inter process communication?

Q. In a system, if 5 people are currently using the vi editor. then the number of corresponding processes will be

Q. The command echo welcome > /dev / tty

Q. dev/null

Q. The advantage of binary files over text files is that

Q. The permission bits of a file noname, can be set to _rws_ _x_ _x by the command.

Q. /bin/passwd has the user execution permission set to 's' because

Q. If one doesn't want anyone else to read or write to a file named datfile, except through a program in a file filex , then he may use

Q. Writing a C program that accepts input from keyboard, rather than from a file is advantageous because

Q. Which of the following string functions can be used to find the last occurrence of a given character in a given string?

Q. Consider the program:

main ( )
{
printf("He arose a victor from\n");
system ("date") ;
printf("the dark domain");
}

If a.out is the executable code corresponding to the above source code, then the command a.out > out f

Q. The default permission bits of a file when it is created for the first time, is controlled by

Q. Let x.c be a C source code. The command cc x.c > y