<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>process Archives - ITBlogSec.com</title>
	<atom:link href="https://itblogsec.com/tag/process/feed/" rel="self" type="application/rss+xml" />
	<link>https://itblogsec.com/tag/process/</link>
	<description>IT, network, security and hacking</description>
	<lastBuildDate>Mon, 04 May 2020 13:51:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>How to put currently running process to background</title>
		<link>https://itblogsec.com/how-to-put-currently-running-process-to-background/</link>
					<comments>https://itblogsec.com/how-to-put-currently-running-process-to-background/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Jan 2017 18:10:43 +0000</pubDate>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[process]]></category>
		<guid isPermaLink="false">http://itblogsec.com/?p=415</guid>

					<description><![CDATA[<p>You've just issued time-consuming command in UNIX/LINUX. Suddenly you need to leave or turn off computer but command must be continued and finished in background.</p>
<p>The post <a href="https://itblogsec.com/how-to-put-currently-running-process-to-background/">How to put currently running process to background</a> appeared first on <a href="https://itblogsec.com">ITBlogSec.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>How to put currently running process to background</h2>
<p style="text-align: justify;">You&#8217;ve just issued time-consuming command in UNIX/LINUX. Suddenly you need to leave or turn off computer but command must be continued and finished in background. Once you have entered command and you don&#8217;t want to interrupt it, please follow instructions below to make it continue running in background</p>
<h3 style="text-align: justify;">First Method</h3>
<p style="text-align: justify;">1. Open new terminal window (or duplicate one currently running)</p>
<p style="text-align: justify;">2. Find out current PID of process which is currently running (in our case it is &#8220;ping 8.8.8.8&#8221;)</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">ps aux | grep ping</pre>
<p><a href="https://itblogsec.com/wp-content/uploads/2017/01/ping_02-1.jpg"><img decoding="async" class="border-image alignnone wp-image-417 size-full" src="https://itblogsec.com/wp-content/uploads/2017/01/ping_02-1.jpg" alt="Find out PID of current running process" width="704" height="47" srcset="https://itblogsec.com/wp-content/uploads/2017/01/ping_02-1.jpg 704w, https://itblogsec.com/wp-content/uploads/2017/01/ping_02-1-300x20.jpg 300w" sizes="(max-width: 704px) 100vw, 704px" /></a></p>
<p>3. Suspend command identified by PID and run it in background</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">sudo kill -20 12402 sudo kill -18 12402</pre>
<p><a href="https://itblogsec.com/wp-content/uploads/2017/01/ping_03.jpg"><img decoding="async" class="border-image alignnone wp-image-418 size-full" src="https://itblogsec.com/wp-content/uploads/2017/01/ping_03.jpg" width="328" height="30" srcset="https://itblogsec.com/wp-content/uploads/2017/01/ping_03.jpg 328w, https://itblogsec.com/wp-content/uploads/2017/01/ping_03-300x27.jpg 300w" sizes="(max-width: 328px) 100vw, 328px" /></a></p>
<p>4. In case you want to finish command manually anytime</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">sudo kill 12402</pre>
<p>&nbsp;</p>
<h3 style="text-align: justify;">Second Method</h3>
<p style="text-align: justify;">1. Run some command (in our case ping 8.8.8.8)</p>
<p style="text-align: justify;">2. Press Ctrl + Z to stop (pause) the program and get back to the shell</p>
<p style="text-align: justify;"><a href="https://itblogsec.com/wp-content/uploads/2017/01/ping_04.jpg"><img fetchpriority="high" decoding="async" class="border-image alignnone wp-image-422 size-full" src="https://itblogsec.com/wp-content/uploads/2017/01/ping_04.jpg" width="531" height="130" srcset="https://itblogsec.com/wp-content/uploads/2017/01/ping_04.jpg 531w, https://itblogsec.com/wp-content/uploads/2017/01/ping_04-300x73.jpg 300w" sizes="(max-width: 531px) 100vw, 531px" /></a></p>
<p style="text-align: justify;">3. Run command in the background</p>
<p style="text-align: justify;"><a href="https://itblogsec.com/wp-content/uploads/2017/01/ping_05.jpg"><img loading="lazy" decoding="async" class="border-image alignnone wp-image-423 size-full" src="https://itblogsec.com/wp-content/uploads/2017/01/ping_05.jpg" width="611" height="126" srcset="https://itblogsec.com/wp-content/uploads/2017/01/ping_05.jpg 611w, https://itblogsec.com/wp-content/uploads/2017/01/ping_05-300x62.jpg 300w" sizes="(max-width: 611px) 100vw, 611px" /></a></p>
<p style="text-align: justify;">4. Now you can close terminal window (putty) and  your process will be running in the background</p>
<p style="text-align: justify;">5. Open new terminal window and check that process is still running</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">ps aux | grep ping</pre>
<p>&nbsp;</p>
<p>The post <a href="https://itblogsec.com/how-to-put-currently-running-process-to-background/">How to put currently running process to background</a> appeared first on <a href="https://itblogsec.com">ITBlogSec.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://itblogsec.com/how-to-put-currently-running-process-to-background/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/158 objects using XCache
Page Caching using Disk: Enhanced 

Served from: itblogsec.com @ 2025-12-02 00:09:57 by W3 Total Cache
-->