Reading Time: < 1 minute By default the binary "mail" is not installed on Ubuntu. At least it’s not on my brand new Ubuntu 10.10.
You need to setup the package mailutils.
apt-get install mailutils
Then you can send an email using the command line:
ls | mail blabla@gmail.com