Archive for the ‘Linux’ Category

Installing Novell Moonlight on openSUSE 11.1

First, make sure you have the PackMan repo added. Bring up a console and su to root or use sudo. Run the commands below; zypper -v search moonlight zypper -v install moonlight-plugin Sample output; pandora:~ # zypper -v search moonlight S | Name | Summary | Type –+——————+————————————-+———– | moonlight | Novell Moonlight | srcpackage [...]

Full Circle Magazine Issue 23

Full Circle Magazine Issue 23 is out. What’s in it; Command and Conquer – Troubleshooting. How-To : Program in C – Part 7, Web Development – Part 4, and Spreading Ubuntu – Part 2. My Story – Becoming An Ubuntu User Book Review – How To Be A Geek Goddess MOTU Interview – Steve Stalcup [...]

Linux Tip #4: Simple sort with the sort command

You can easily sort your outputs in Linux using the “sort” command. Simply pipe “|” your output to a “sort” command and you should see the sorted results. See sample usage below. This is just to start off, I’ve cover more in future posts. [root@hantu ~]# cat numbers 5 4 3 2 1 0 6 [...]

Linux Tip #3: System uptime with uptime

Want to know how long your Linux box has been up for? Simple, just run the “uptime” command and you will be rewarded with the answer plus a bit more. 8:58pm  up  19:54,  1 user,  load average: 0.47, 0.62, 0.35 Above is the typical reply from uptime. On the left is the current time, followed [...]

Linux Tip #2: Get your PID with $$

“$$” 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 [...]

Page 10 of 46« First...«89101112»203040...Last »
© 2008-2009 The Danesh Project
Powered by Wordpress and made by Guerrilla. Best viewed in Mozilla Firefox