SlideShare a Scribd company logo
Welcome to
dwivedishashwat@gmail.com
TechGurukul
Linux Series [Suspending a process]
Learning Linux
dwivedishashwat@gmail.com
TechGurukul
Welcome to :
Suspending a process in Linux
1. Some time we need to suspend/stop a process in linux we can achieve this using two options
1. Kill command :
1. kill -STOP <pid> : This will suspend the process
2. kill -CONT <pid> : This will revive and continue the suspended process
2. Keyboard shortcut (for process which we have started in foreground and want the terminal back)
1. Suppose you are running a process in foreground and you want it to suspend and get the
terminal back or if you want to send the current running process to background and get the
terminal back you can use this option.
1. Press ctrz+z, this will suspend the process and give you the terminal prompt back form
terminal you can type ‘bg’ this will send the suspended process in background and it will
continue running and if suppose you want to bring it back you can type ‘fg’ it will bring back
the process to foreground.
dwivedishashwat@gmail.com
Thanks For Watching
—-TechGurukul—-
Please support our channel by just liking
Subscribing and pressing bell icon to keep
in touch

More Related Content

More from Shashwat Shriparv

Hive query optimization infinity
Hive query optimization infinityHive query optimization infinity
Hive query optimization infinity
Shashwat Shriparv
 
H base introduction & development
H base introduction & developmentH base introduction & development
H base introduction & development
Shashwat Shriparv
 
My sql
My sqlMy sql
Apache tomcat
Apache tomcatApache tomcat
Apache tomcat
Shashwat Shriparv
 
Linux 4 you
Linux 4 youLinux 4 you
Linux 4 you
Shashwat Shriparv
 
Introduction to apache hadoop
Introduction to apache hadoopIntroduction to apache hadoop
Introduction to apache hadoop
Shashwat Shriparv
 
Next generation technology
Next generation technologyNext generation technology
Next generation technology
Shashwat Shriparv
 
Configure h base hadoop and hbase client
Configure h base hadoop and hbase clientConfigure h base hadoop and hbase client
Configure h base hadoop and hbase client
Shashwat Shriparv
 
C# interview quesions
C# interview quesionsC# interview quesions
C# interview quesions
Shashwat Shriparv
 
Intermediate code generation1
Intermediate code generation1Intermediate code generation1
Intermediate code generation1Shashwat Shriparv
 
Information system availibility control
Information system availibility controlInformation system availibility control
Information system availibility controlShashwat Shriparv
 

More from Shashwat Shriparv (20)

Hive query optimization infinity
Hive query optimization infinityHive query optimization infinity
Hive query optimization infinity
 
H base introduction & development
H base introduction & developmentH base introduction & development
H base introduction & development
 
Hbase interact with shell
Hbase interact with shellHbase interact with shell
Hbase interact with shell
 
H base development
H base developmentH base development
H base development
 
Hbase
HbaseHbase
Hbase
 
H base
H baseH base
H base
 
My sql
My sqlMy sql
My sql
 
Apache tomcat
Apache tomcatApache tomcat
Apache tomcat
 
Linux 4 you
Linux 4 youLinux 4 you
Linux 4 you
 
Introduction to apache hadoop
Introduction to apache hadoopIntroduction to apache hadoop
Introduction to apache hadoop
 
Next generation technology
Next generation technologyNext generation technology
Next generation technology
 
Configure h base hadoop and hbase client
Configure h base hadoop and hbase clientConfigure h base hadoop and hbase client
Configure h base hadoop and hbase client
 
Java interview questions
Java interview questionsJava interview questions
Java interview questions
 
C# interview quesions
C# interview quesionsC# interview quesions
C# interview quesions
 
I pv6
I pv6I pv6
I pv6
 
Inventory system
Inventory systemInventory system
Inventory system
 
Intermediate code generation1
Intermediate code generation1Intermediate code generation1
Intermediate code generation1
 
Information system availibility control
Information system availibility controlInformation system availibility control
Information system availibility control
 
I mode
I modeI mode
I mode
 
Huang sheri
Huang sheriHuang sheri
Huang sheri
 

Suspending a Process in Linux.pptx

  • 2. Linux Series [Suspending a process] Learning Linux dwivedishashwat@gmail.com TechGurukul Welcome to :
  • 3. Suspending a process in Linux 1. Some time we need to suspend/stop a process in linux we can achieve this using two options 1. Kill command : 1. kill -STOP <pid> : This will suspend the process 2. kill -CONT <pid> : This will revive and continue the suspended process 2. Keyboard shortcut (for process which we have started in foreground and want the terminal back) 1. Suppose you are running a process in foreground and you want it to suspend and get the terminal back or if you want to send the current running process to background and get the terminal back you can use this option. 1. Press ctrz+z, this will suspend the process and give you the terminal prompt back form terminal you can type ‘bg’ this will send the suspended process in background and it will continue running and if suppose you want to bring it back you can type ‘fg’ it will bring back the process to foreground.
  • 4. dwivedishashwat@gmail.com Thanks For Watching —-TechGurukul—- Please support our channel by just liking Subscribing and pressing bell icon to keep in touch