Linux.com

Home Linux Community Forums Software Command Line Share your best command line scripts

Share your best command line scripts

Link to this post 17 May 09

The name says it all. Please share your best command line scripts and explain their use.

Link to this post 17 May 09

alias IPADDRESSES="ip addr|grep 192;curl -s http://checkip.dyndns.org/ | grep -o '[[:digit:].]\+'"

This command sets up an alias command to display your internal ip address(es) and display your external ip address using dyndns.

You only need to supplement the 192 with the first octet of you internal network subnet.

Link to this post 17 May 09

#!/bin/bash
IP=$(curl http://www.slurpware.org)
echo $IP
exit 0

Simple external IP checker.

Link to this post 18 May 09

Ubucleaner seems to be a good tool for ubuntu users, thank you for sharing it.

Also the ip script is good, it shows that there are mutliple ways in Linux to accomplish a single task.

Link to this post 18 May 09

PackManUtil for managing package installation on a Cross Linux from Scratch system.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board