Whole Network Most Recent TOP10 FreeBSD Hacks Securing

 

How to manipulate your process status

Filed in archive Tips & Tricks by Rom Feria on November 24, 2007

process.jpg
There are times when you want to execute an application on the command-line without interrupting the most recent process or application that is running. Whilst this is very basic, I find that n00bs may not be familiar with this trick.

On the command-line, execute a process, e.g., "ping" without the trailing "&" that keeps it running in the background. Hit Ctrl-Z to temporarily stop the process.

$ ping 10.32.1.7 ^Z [1]+ Stopped ping 10.32.1.7


Activate it but run as a background process.

$ bg [1]+ ping 10.32.1.7 &


Continue doing what you are doing but the process continues to run in the background.

Transfer it back as the current process.

$ fg ping 10.32.1.7


Now, the process is back as the currently running application.


Advertisement


Permalink: How to manipulate your process status
Tags: process  management  linux  2007  status  process+status  opensolaris+revs  process+ping 

Trackback: http://www.creative-weblogging.com/cgi-bin/mt-tb.pl/103619



Advertisement


Advertisement


CW ToolbarInstall
RSSrss   | See all blog subscribe options
Googlegoogle   |   What is RSS?
Yahoo!yahoo
AddthisAddThis Feed Button
BloglinesBloglines
Newsletter
Advertisement - Book yours here.

Use our search feature to look for other interesting posts

Just this blog Whole network
 
  • Would you like to have a new interactive marketing channel for your company? Learn more about Sponsored Blogs with Creative Weblogging. See how we helped companies like Weblin and cellity reach their goals.
  • Would you like to reach millions of blog readers every day? See you banner on hundreds of blogs with TierOneAds? Stay in control measuring conversion in real time. Register now.
  • Would you like to make more money blogging? Use TierOneAds a new platform that allows you as a blogger to set your prices per impression. Register now.
  • Do you have a blog with more than 50k page views from the US? Let us market your blog and earn great fix payments and bonuses.
  • Would you like to see your text link here? Let us know!
Advertisement
Book yours here.

TierOneAds


  • Other blogs in the same channel in the Creative Weblogging Network

Advertisement -
Book yours here..
TierOneAds






Advertisement - Book yours here..
 
Tagcloud: Devices Entertainment Finding The Right Linux For You FreeBSD Hacks Humor Linux For Windows Users Misc Multimedia Networking Programming Securing Servers Solaris Tips & Tricks Utilities