Wednesday, October 5, 2011

Linux secrets

I will be posting here Linux secrets commands that are not very well known

Space Invaders 2.0/ 3.2.1 
there's an entire game hidden in Calc. Open a new worksheet, and in any cell, type in the formula:

and press Enter. You should see a Space Invaders-style arcade game.

Signature in ASCII graphics 

A sample output. ( press CTRL-D after you type the message)

$ boxes -d peek
check my Blog

 $ sudo apt-get install boxes

$ boxes -help
boxes - draws any kind of box around your text (and removes it)
        (c) Thomas Jensen <>
        Web page:
Usage:  boxes [options] [infile [outfile]]
        -a fmt   alignment/positioning of text inside box [default: hlvt]
        -d name  select box design [default: first one in file]
        -f file  use only file as configuration file
        -h       print usage information
        -i mode  indentation mode [default: box]
        -k bool  kill leading/trailing blank lines on removal or not
        -l       list available box designs w/ samples
        -p fmt   padding [default: none]
        -r       remove box from input
        -s wxh   specify box size (width w and/or height h)
        -t uint  set tab stop distance [default: 8]
        -v       print version information

Use the command below to see all the available boxes
$ boxes -l

No comments: