Linux commands to run for fun

Some beginner tips

drop inbound connections

You only need people to connect to you if you're a server. If this is your personal computer, do yourself the favor and drop connections that come to you.

Get the iptables script:

wget && chmod +x

audit the script:


run the script as root (iptables requires root):


Note that the changes will reset once you restart your computer. If you want to accept inbound connections without restarting, you can do the same above steps with

ungoogle your system

You won't be able to get past captchas, but it's a good way to make Chromium more private and secure than Ungoogled-Chromium. I'd run this on a server, actually.

Get the blackhole script:

curl -o && chmod +x

audit the script:

cat | less

run the script as root (ip route requires root):


check your ip route settings to see if changes were made:

ip route

You'll know it's good when there's a bunch of results that say "blackhole"

see what's cumming in and out

I just learned what netstat was yesterday. Check it!

netstat --tcp

If you disabled inbound connections, then it'd only show outbound connections. Pretty cool. If you have a ton of results, you're fucked though ahahaha which case you should take those IP's over to bgp. Requires javascript but at least you'll get some background info on those numbers.

Note that ESTABLISHED connections are active, and TIME_WAIT aren't active. It's just how TCP works.

see where your shit goes when you flush

Install traceroute with your package manager and just run


And you'll see your packet go through your ISP, and then towards this site. If you ping you'll see it go to which is, which is kinda like the site that owns this site or something.

server roulette

Now you gotta read servers like you read the talmud, this is a based command to try and when you try, you will fly (into jail)

nmap -sC -sS -sV --version-all -T 3 -O --osscan-guess -oG cunny.txt -p 0-443

here's a safer one in case you're too pussy:

nmap -sC -sS -sV --version-all -T 3 -O --osscan-guess -oG cunny2.txt -p 0-443

Wow amazing now you're familiar with fun linux commands enjoy