Skip to content

Instantly share code, notes, and snippets.

@mathieue
Created October 21, 2012 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieue/3927552 to your computer and use it in GitHub Desktop.
Save mathieue/3927552 to your computer and use it in GitHub Desktop.
# linux-tips.sh
# https://gist.github.com/3927552
# collection of great tips picked from the UNIX TOOLBOX
# http://cb.vu/unixtoolbox.xhtml
# get distrib infos
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
# list all ip addresses
$ hostname -I
127.0.0.2 87.98.168.247 10.0.0.3
# get directory hierarchy (i should read this :)
$ man hier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment