“$$” 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 [...]
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 ~]# [...]
GScrot is a powerful screen capture tool for Linux. The project went through a re-branding exercise earlier this month and now takes on a new, more appropriate name, “Shutter”. The project’s launchpad project name together with it’s PPA have also been renamed to Shutter. The new project page : https://launchpad.net/shutter The new PPA : https://launchpad.net/%7Eshutter/+archive/ppa [...]
The latest issue of “Full Circle Magazine is out. Issue 21. What I found interesting in this issue; Output formatting with grep, awk, sed, cat, cut Web developement C programming Video resizing Ubuntu USB boot Torrent tools Download the magazine or read it online. Source: Full Circle Magazine
Another good starter cheat sheet for all you Ubuntu newbies out there. If you missed it, the Linux cheat sheet is also available here. I’m new to Ubuntu myself so this comes in real handy for me. Download the PDF from here or here. Again, thanks to FOSSwire for making their cheat sheets available to [...]