Linux Unix help !!

"Give respect to Time, One day at right Time, Time will respect You"

Thursday, January 27, 2011

fg and bg command linux

=================== foreground background processes ====================
run process in backgrounbd foreground

commands :
1> (sleep 282828282 ) &                < - process 1
1> (sleep 9090909090 ) &              < - process 2

# jobs
# fg %1    ^Z       stop
# bg %1         start again in bg
# fg  %1    start in fg
# kill %1     terminate %1  or
# fg %1     ^C    to terminitae command

# Faced any problem Feedback in above contact me
#===============================Scratch===============================#
#                                                            AND Many More .....................Linux is Endless                 #
#========================== Hope you Liked IT ===========================#
#                                                                                                          FG-BG -- BY Shirish Shukla #
#                                                                                                                       RHC Engineer 2010 #
#                                                                                                                  shirish.linux@gmail.com #
#                                                                                                                 shirishlinux.blogspot.com #
#                                       " Give Respect To Time One Day At Right Time, Time Will Respect You" #
#===================================================================#
#                                      TRy Hard theres nothing that are un-achievable by HARDdd-WORKkk     #
#=================================================================== #

1 comment:

Write Here .. your comments are always wellcome ..but no spam please !!

Followers

Pls LIKE my Story !!!