Last Updated: February 25, 2016
·
1.282K
· jonahbron

Command Line Lipsum Text

Just found a package (in Ubuntu, at least) called libtext-lorem-perl that can be used from the command line to produce lipsum text. No more going to lipsum.com!

Examples:

# 5 words
lorem -w 5

# 7 sentences
lorem -s 7

# 2 (you guessed it) paragraphs
lorem -p 2

Install with apt:

sudo apt-get install libtext-lorem-perl

1 Response
Add your response

Combine it with xclip to automatically save the output to your clipboard.lorem -w 5 | xclip puts it on your 'X'clipboard and you can paste it by clicking with your middle mouse button. Use xclip -selection clipboard to have it under your Ctrl-V buttons.

over 1 year ago ·