Skip to main content

Tips and Tricks

Since there ain't a whole lot happening in my life, I might as well use this venue to make a list of cool Linux tips and tricks.

1) Hey, I need to start spending less time reading Lakers rumors. Why not start by blocking access to the Lakers forum I frequent most, namely forums.lakersground.net (64.38.208.184). Here is how it's done using iptables.

iptables -I INPUT -s 64.38.208.184 -d 0/0 -j REJECT

2) If you would like to view your iptables filters/instructions, you can just type

iptables -L

3) To check which ports are open, one can use nmap as

nmap -sT localhost OR
nmap -A -sT localhost OR
nmap -sT IPaddress

4) To convert OGG to MP3, use ~/bin/ogg2mp3.pl

More to come

Comments