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
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. [...]
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
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
