Table of Contents

bg

Hayek's Linux Manual

Send active process to the background

Description

If a command is running in a terminal window and you want to free up the window. You can also send jobs to the background if you give bg the PID for the job

Examples

 [hayek@localhost ~]$ /share/litecoin/bin/64/litecoin-qt 
 ^Z
 [1]+  Stopped                 /share/litecoin/bin/64/litecoin-qt
 [hayek@localhost ~]$ bg
 [1]+ /share/litecoin/bin/64/litecoin-qt &

 [hayek@localhost ~]$ ps -ef | grep litecoin
 hayek    24797 24711  6 20:08 pts/4    00:00:15 /share/litecoin/bin/64/litecoin-qt
 hayek    26224 24711  0 20:12 pts/4    00:00:00 grep --color=auto litecoin
 [hayek@localhost ~]$ bg 24797

Computing


QR Code
QR Code bg_hayek.0 (generated for current page)