what is the use of "fg" command ?
Answers were Sorted based on User's Feedback
Answer / harish
fg command will put a process running in background to
foreground.
Is This Answer Correct ? | 49 Yes | 1 No |
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 |
Write a command that will display files in the current directory, in a colored, long format.
Who command in unix operating system?
What is used to type command?
What does the metacharacter mean?
What is the difference between cat and more command?
Which mode is used for allowing file write,read and append mode?
What does this command do,"$more readme.txt“?
how to sort the content of the file based on numeric values
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?
What is clustering in HP and how it's work?
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: