answersLogoWhite

0

Use of 'FG'command in Linux

Updated: 10/3/2023
User Avatar

Wiki User

15y ago

Best Answer

To resume a command, process, application that has been previous suspended. Most commonly used when a command has been executed and suspended (executed with '&' at the end of the command). You may also suspend execution of a program with CTRL-Z (^Z)

----

$> top &

[1]+ 26637

$> top &

[2] 26642

[1]+ Stopped top

$>

[2]+ Stopped top

$> jobs

[1]- Stopped 26637

[2]+ Stopped 26642

$> fg 2

[output of the second top]

----

The + sign displayed by the output of the jobs command refers to the current running process and the - sign refers to the previously running process.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

"fg " command is used to bring the current job to foreground.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Use of 'FG'command in Linux
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does Linux use the kernel of Unix?

No, it is unix-based but Linux is a kernel not an operating system.Ubuntu,Linux Mint,Debian,and puppy Linux,ect. are OS's that use the Linux kernel.


Who would be most ikely to use Linux operating system?

everyone can use linux


Why do people use Linux. Its illegal?

Linux is not illegal. Linux is a free, public license software modeled on Unix.


Where can one learn how to use Linux?

There are many available resources that can assist an individual with learning how to use Linux. A couple resources that can assist an individual with learning how to use Linux include: Wikihow and Linuxcommand.


Can we use IIS in Linux?

No.


Is there tax software for Linux anywhere?

There are several different tax software compatible with Linux. You can use Tax Act. Is another software that people use when the Linux is not available.


Linux can only be use on micro computer?

No. Linux also runs on mainframes.


Is it possible to use Linux for the internet cafe?

Sure! Internet cafes can use Linux no problem if they so choose.


Can you use norton with Linux?

Yes - and No... There is no home edition of Norton for Linux that I know of. However, there is an enterprise edition of Antivirus for Linux.


What operating system does the kindle fire HD use?

Kindle Fire HDs use a customized version of Android, which is a mobile operating system running on the Linux kernel with a non-GNU userland.


What is the architecture of microkernels developed in Linux?

Linux is a monolithic kernel. Some operating systems with a microkernel use Linux as a process for providing drivers, but this is irrelevant to mainstream Linux.


Will installing windows after Linux wipe out Linux?

you can partition the drive.. to use both OS