Linux T-Shirts

When I’m not at the office, I live in T-shirts. As such, I go through a lot of t-shirts and I have to replenish my supply regularly. But what’s a good geek supposed to do when he can’t find one he likes at his local mall? That’s right, he makes his own!

I recently used zazzle.com to make some cool Linux T-Shirts for my own use. When my friends saw me wearing them, they wanted to buy them too. So, I released my Linux T-shirts to the public. Check out my Linux T-shirts at my Zazzle store.

You’ll notice that many of my Linux T-shirts feature Tux the penguin, the mascot of Linux. Tux was designed by Larry Ewing, using The GIMP.

If you decide to take a whirl at making your own shirts, please be respectful of others’ intellectual property and either make your own graphics, use graphics that are in public domain or get the permission of the creator. For example, according to Larry Ewing’s website, he grants you permission to use the Tux logo as long as you acknowledge both him and the GIMP.

Stupid sed Tricks

Here are some handy sed one-liners I’ve come across recently. Maybe someone else will find them handy.

Wrap each line with quotes (quotation marks) – version 1:

sed 's/^[^$]*$/"&"/'

Wrap each line with quotes (quotation marks) – version 2:

sed 's/.*/"&"/'

Replace space with escaped space:

sed 's/ /\\ /g'

How to Find Out Who is Logged On at a Windows Computer

Sometimes it’s handy to find out who is logged on at a remote Windows computer. For example, before rebooting a critical server after hours, you might want to make sure your boss isn’t logged in at his computer.

In Linux, this is easy. You simply login to the remote computer with ssh (or telnet…yikes) and run the who command. For example:

me@bosscomputer:~$ who
boss   tty7         2008-10-16 07:57 (:0)
me   pts/0        2008-11-14 15:25 (mycomputer)

In Windows, I found two ways of doing this. Both ways work with Windows XP and Windows 2003 (and perhaps other versions too). Continue reading » How to Find Out Who is Logged On at a Windows Computer

How to Find Uptime in Windows

Sometimes it’s useful to find out the uptime for a Windows computer. For example, if you are rebooting a whole bunch of Windows computers and you aren’t careful about keeping track of which ones you have just rebooted, you can check the uptime.

In Linux, it’s easy to find out how long a computer has been up and running. You just runtime the good ol’ uptime command. For example:

me@mycomputer:~$ uptime
09:17:32 up 23 days, 19:13,  3 users,  load average: 0.36, 0.54, 0.49

In Windows, it’s almost as easy but not quite as intuitive. Continue reading » How to Find Uptime in Windows

Page 5 of 17« First...«34567»10...Last »