View Single Post
Posts: 415 | Thanked: 732 times | Joined on Jan 2009 @ Finland
#1
I thought of starting a Maemo shell oner-liner challenge just for the fun of it ( disclaimer: my definition of fun may differ from yours ).

Only one rule:
1. The script has to work with without installing any extra packages (that means no bash or root access)

I'll start with something rather simple to get this going.

Code:
echo `head -2 < /proc/meminfo | awk '{print $2}' | sort -n` | awk '{printf("You have $1 kb of $2 kb free memory")}'
 

The Following 4 Users Say Thank You to timoph For This Useful Post: