“$$” is a useful Linux variable you could use in your script to get it’s PID. The “$$” variable always holds the PID of the executing process. Why do you need it? Maybe to check if the script is already running? This is what I normally use it for. Sample Script; #!/bin/bash echo “My PID [...]
80 countries, 1429 cities, 5085 organizations and 16995 businesses have pledged turn their lights off on 28th March 2009 for 1 hour from 8.30pm till 9.30pm in support of earth hour 2009. That’s the current global support Earth Hour 2009 has received so far. The global goal is to reach 1 billion participants….. Earth Hour [...]
This is something every Linux admin or Linux superuser probably already knows and uses everyday. The “tail -f” command monitors a file and tracks any changes to it. As changes are made to the monitored file the “tail” command will print them on screen. Live monitoring basically….. tail -f [log file] Sample output; [root@keke ~]# [...]
[youtube]http://www.youtube.com/watch?v=tprMEs-zfQA[/youtube] The video’s the work of Kutiman. It’s a compilation of many YouTube videos with different instrumanents glued together to make some really interesting tracks. I was blown away by the precision editing work put into his work. The video above is just one of the many, check out the rest at thru-you.com and tell [...]
Been seeing this for the past few days? Get excited!! Facebook is giving you a spanking new home page and he roll out happens today. This time, it’s actually looking good. Clutter free, clean, fast and best of all it’s a live home page. Meaning that all social content from your network will be reflected [...]