29th January 2011
in
Networking, cli
Stuck at a CLI prompt in Linux and not sure what Romania is? Use the following command:
dig +short txt Romania.wp.dg.cx
Subsitute Romania for any other keyword you might want to see a short description of in your command[...]
1 Comment
24th January 2011
in
Security, System, cli
Everybody knows top or htop. Ever wished there was something similar but to monitor your files instead of CPU usage and processes? Well, there is.Run this:
watch -d -n 2 ‘df; ls -FlAt;’
and you’ll get t[...]
No Comments
21st January 2011
in
Networking, cli
All you need to display your latest GMail messages in the command line is this one-liner:
curl -u username:password --silent “https://mail.google.com/mail/feed/atom” | tr -d ‘\n’ | awk -F ‘&[...]
6 Comments
20th January 2011
in
Multimedia, cli
If you do not wish to install a dedicated application for recording your desktop, you can do it with this one-liner:
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /home/user/out.mpg
All you need is have ffmpeg already i[...]
1 Comment