what is the use of "fg" command ?

Answers were Sorted based on User's Feedback



what is the use of "fg" command ?..

Answer / harish

fg command will put a process running in background to
foreground.

Is This Answer Correct ?    49 Yes 1 No

what is the use of "fg" command ?..

Answer / c sivakumar. kumarsiva46@yaho

'bg' means background and 'fg' foreground. This 'fg'
command using to change the background process to
foreground.

Is This Answer Correct ?    20 Yes 2 No

what is the use of "fg" command ?..

Answer / padmanaban

fg will get the process from background

Is This Answer Correct ?    8 Yes 3 No

what is the use of "fg" command ?..

Answer / jonu

fg

Typing fg alone will resume the first job were it was left off.

fg 1

Specifying the job id (in this case 1) will resume that particular job. The job id can be determined by running the bg command.

Is This Answer Correct ?    1 Yes 0 No

what is the use of "fg" command ?..

Answer / swapna

fg command will resume the recently stopped process.

Is This Answer Correct ?    13 Yes 14 No

Post New Answer

More Unix Commands Interview Questions

Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


Who command in unix operating system?

0 Answers  


What is used to type command?

0 Answers  


What does the metacharacter mean?

0 Answers  


What is the difference between cat and more command?

0 Answers  






Which mode is used for allowing file write,read and append mode?

9 Answers   BitWise, TM,


What does this command do,"$more readme.txt“?

0 Answers  


how to sort the content of the file based on numeric values

0 Answers   Epsilon,


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


How do you stop a running process?

7 Answers  


What is clustering in HP and how it's work?

1 Answers   HP,


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

0 Answers  


Categories