21
Linux commands that make me happy
Ok, so at work I started writing a “Linux command of the day” on a whiteboard that was vacant. Some of them are pretty cool so I thought I would show them here.
Some of them are pretty elementary to linux gurus but I’ve been using linux almost exclusively for 2 years and some of these were new to me. This is probably because I’ve been using mostly gnome and am not fully dependant on the CLI.
1. $ sudo !!
What this does is run whatever the last command you typed with sudo in front of it. Very cool, I know I’ve typed some long command before and forgot to add sudo to it. This makes those mistakes a lot easier to deal with. (I got this from hak5.org…good web show).
2. $ route -n
I felt ashamed for not knowing this one but it will help you find what your gateway ip is.
3. $ nmap -v -O ipaddress
Ok this isn’t really a build in command but if you have nmap installed this gives you a port scan and OS information from an IP address.
20
Installing and Configuring ircd-hybrid on Ubuntu 9.04
So, the other day I was trying to setup an irc server for department communications and was having a lot of trouble getting it to accept connections from outside of localhost. I’m using ircd-hybrid on Ubuntu 9.04 and I messed with this for hours. I went through the ircd.conf and I kept changing the “host” parameter and different things but I finally figured out how to get the server to accept outside connections.

