It looks like there is no alternatve to wireshark or tshark. But never fear... An alternative is here!

On Ubuntu (ofcourse), you can install it via apt-get install tshark
Some examples:

tcpflow -i eth0 -c -e
With this one you'll see all the traffic for your network card. Add the -s parameter if you see too many gibberish passing by. It will convert non-printable traffic into periods.

tcpflow -i eth0 -c -e port 80
Only interested in datastreams to port 80, use the command above.

tcpflow -i eth0 -c -e host
if you're only interested in traffic from- or ment for

But there is more. If you do not use the -c switch, tcpflow will create for each datastream a separate file. Add the -b parameter and the files created can be limited in filesize. 

Do keep in mind that tcpflow is not in development anymore and it cannot handle fragmented ip packets.
Are you one of the happy few to own a machine with too much RAM and have Ubuntu/Debian installed? Then you might consider use some of that memory to use it to change it to RAM drive. Sometimes it might be useful to decompress files or other file-operations wich can be time consuming on slower disks.

Here's what to do:

sudo -s
create a dir called /tmp/ramdisk
mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk

mount -t tmpfs -o size=4096M tmpfs /tmp/ramdisk/

Happy RAMDisking! :-)
Sometimes when you issue a ping to a certain host and you do not get a reply, you think the host is offline, but it is actually being blocked by a firewalll. 
What you can do is issue a ping and right after that run the arp -a command:

:/# ping <ip adress host> PING ( 56 data bytes  ^C (abort with CTRL - C)  
:/# arp -a | grep <ip adress host>  <hostname> (<ip adress host>) at (incomplete)  

So, if you do not get a MAC address, the machine is really offline

Sometimes you like run a continious ping to a specific host and do not want to keep staring at the result of the ping command. An audible notification would be nice.

Guess what, there is a command to solve this one.

while true; do ping -c1 <hostname> | grep '1 received' && espeak -vnl '<hostname> ping'; done

t’s been a long time, but this time a short one .

If you happen to own an iPad or any other IOS device, the following apps come in use: “corntab” ,”LCR” and Simple CHMOD”

Yep you’ve read it right: CoRntab. With this one can create a crontab entry by just selecting the date and time.

LCR is the Linux Command Reference. A great help at finding out the proper syntax of a linux command.

Simple CHMOD helps you out figuring out what parameters to use with chmod. 

Running Ubuntu on Android.

If you have an (rooted and have busybox installed!) Android device which is fast enough to run Ubuntu you can give it a try.
It works quite well on my Samsung Galaxy s Plus. It has an 1.4ghz ARMv7 processor, which is fast enough to run it, but I think it should be any slower.
(OW men, I wish I had a Galaxy Note, (quadcore 2ghz…)
The second requirement is, you have to have at least an SD card larger than 4gb for optimal use of Ubuntu.
The third requirement is some knowledge of shell scripting. If you’re not at least a little bit familiar with scripting, you’d better not try it.

Steps to follow:

1.Download the following files:
(for the large image, 3.5gb) The smaller one can be downloaded here:
I’m not sure, but I think it’s about 400mb)

Install a terminal emulator in android:
and install a decent VNC viewer on your device:

2.Unzip the first two files on your SD card, preferrably on the SD card in <sdcardlocation>/ubuntu You should then have an .img file and an .sh file in the directory.
3.Install the terminal emulator and the vnc viewer.
4.It might not work in the first time, but run the script by the following commands:
-CD to the directory where the files are located
-analyze the errors and correct them. But never fear 🙂 The errors are mostly caused by wrong directorynames in the script. Correct them, if it is possible. And be sure that you have busybox installed:

-Eventually, you should get some questions about screen resolutions. If so, your Ubuntu is close to getting started.
-connect via VNC from the android device (or PC, ofcourse) to the ipaddress. Port 5900 will do.
Note that Ubuntu will not keep running in the background. It stops running when you exit the terminal where you ran the script.
Everytime you run, you will be able to connect to Ubuntu via vnc. Pretty cool eh?

Ow, the last thing I need to mention is, that when you have logged into your fresh new Ubuntu machine via VNC, you might get some problems that if you press the d key on your keyboard, the Ubuntu desktop will show, if you press d again, then the windows pop up. Go to System, Preferences, Keyboard shortcuts, Look under Window Management and find “Hide all normal windows and set focus to the desktop”. Press <BACKSPACE> on this option and this nasty keyboard shortcut is gone.
Maybe you do not have the same problem, but I did.

A short one this time :-)

An easy and fast way to update your Ubuntu Desktop (or server ofcourse) is by creating a script with just one line:
apt-get update && apt-get upgrade && apt-get autoremove && apt-get autoclean
Good luck.