Find the parent PID of a Bash Script

by
on
January 9, 2011

For any number of reasons you may want to know the parent process ID of the current Bash script. You can find the parent process of the current Bash script or shell by printing the ‘$PPID‘ shell variable. $ echo $PPID20341

Read More
No Comments
bash

Find the PID of a background child process in Bash

by
on
January 9, 2011

In order to control or monitor background child processes from a shell script you will need to know the PID of the child. Bash stores the PID of the last process executed in the “$!” shell variable. If you start a background process in an interactive shell it will output the PID of the child. [...]

Read More
No Comments
bash

Find the PID of the current Bash script

by
on
January 9, 2011

In many cases you will need to determine the PID of a current Bash script or shell. Bash stores a specific variable that allows you to view the process ID of the current shell “$$‘. You can echo the $$ to print the current PID. $ echo $$23490

Read More
No Comments
bash

Install git on SUSE 11

by
on
January 5, 2011

Git is a great version control system which is used everywhere these days. The process of installing git on SUSE is as easy as other distros at moment but is not to difficult if you follow these steps. To my knowledge at this point in time there is no git rpm package for SUSE. There [...]

Read More
2 Comments
suse

Insert a timestamp in your Tomboy notes

by
on
January 5, 2011

At can be very handy to automatically add a timestamp to a Tomboy note but the feature is not enabled right out of the box. Fortunately it is very easy to turn on this feature. Open Tomboy Preferences, click on the Add-ins tab, and select the Tools Add-in dropdown list. Select Insert Timestamp and click [...]

Read More
No Comments
guides

How to get Boxee to correctly identify local media files

by
on
December 29, 2010

One of the great features of Boxee is that it can scan your local media collection and retrieves artwork and information from IMDb.com. It does this by doing regular expression matching on each file name to determine what movie, album, or TV episode it is. If you have a collection that is not well named [...]

Read More
No Comments
guides

VirtualBox 4.0 released

by
on
December 22, 2010

A new major release of VirtualBox went public today. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. The new release includes many new features and bug fixes. Here is the changelog: This version [...]

Read More
No Comments
linux news

Build the perfect HTPC with Boxee and the Dell Zino HD

by
on
December 16, 2010

If you are looking for a great HTPC then you should look no further than Boxee on the Dell Zino HD. For those of you that don’t know, Boxee is a free software program that you install on your computer that allows users to watch internet movies and TV shows, listen to online radio and [...]

Read More
No Comments
guides

Have a Bash script determine it’s own location

by
on
December 15, 2010

At some point it may be helpful to have a BASH script dynamically determine the location of itself when executed from anywhere on the system. The following code will produce the canonicalized absolute pathname of the script, as well as the directory that it resides in. The script first determines if the the first argument [...]

Read More
1 Comment
bash

Remove the envelope icon from the Gnome indicator applet

by
on
December 7, 2010

In Ubuntu it can be difficult to customize the indicator applet which by default contains the sound, battery, Bluetooth, and empathy icons. If you don’t use empathy and want to remove the icon there is no simple option to change. Since this is a default indicator icon you must completely remove the indicator-messages package to [...]

Read More
No Comments
ubuntu
Copyright 2008-2010 WiredRevolution.com. All rights reserved.