answersLogoWhite

0

fg [job id]

where [job id] is the job number associated with the process. You can find the job id by issuing the jobs command.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How would you suspend a running foreground job in Linux?

Ctrl-C


How can you suspend foreground and background job in unix?

You suspend a running (foreground) job by using the suspend keystrokes (usually ^Z). A background job can be suspended from the background if it understands the suspend or other user kill signals. In general, however, you have to bring the background program into the foreground and then suspend it by using the action listed above.


What is the use of fg command?

Hmm... "fg" is a bash shell built-in command so I'm assuming you are referring to it. All it does is "resume" the referenced job (or task if you prefer) in the foreground of the shell thus making it the current job (or task). Of course, "fg" is only applicable to a job started with job control enabled. In Unix and Linux shells that support job control, jobs may be suspended, moved to the background, moved to the foreground and suspended or paused jobs may be resumed. You could, I suppose, compare it to using a mouse to bring jobs into and out of focus on a GUI. I don't use GUIs a lot so I'm not sure how simple it is to suspend a job or task on a Windows system thus causing the task to cease being processed until it is resumed. It is trivial to do from within a bash shell however. Also, job control in Unix/Linux shells is not restricted to bash, sh, ksh, csh and many if not most other shells support job control. [JMH]


Is Linux helpful for getting a job?

Linux itself can't help you get a job. Being familiar with Linux and having certifications in various aspects can help you get some jobs.


What job is best in UK Linux Administration or Windows Administration?

Linux Administration


How do you use the bg and fg commands?

bg is used to run a command in background and fg bring the background command to foreground.


Opposite of foreground?

The opposite of foreground is background.


Is putty install in Linux?

You do not need to install PuTTY in Linux as there are built-in utilities that can do PuTTY's job (ssh, telnet)


What is a foreground star?

A foreground star, is a star that is observed when looking at further objects, that is not part of that object.For example. If you were looking at a picture of a far galaxy, there might be stars "in the foreground" that are not part of that galaxy. These stars are called foreground star, because they are in the foreground.


When was Piano in the Foreground created?

Piano in the Foreground was created in 1961.


Would the internet exist without linux?

Yes, though Linux does a pretty good job of running most of the Internet, the Internet has been around a lot longer than Linux has. IF it wouldn't be Linux, it'd probably be BSD.


What type of Job Scheduler is used in Windows Unix Linux?

autosys