[ProgClub programming] Announcing rf.php and rnd()

Jedd Rashbrooke jedd.rashbrooke at gmail.com
Wed Jun 19 14:47:00 AEST 2019


On Wed, 19 Jun 2019 at 14:26, John Elliot V | ProgClub <jj5 at progclub.org>
wrote:

> For instance if I wanted to pick one of my servers at
> random ...


 Riiiiggght.

 So a one-line addition to  /etc/profile.d/local-prefs.sh  is how I'd solve
that 'problem'

 *alias rufknsrs='ls | head -$(shuf -n 1 -i 1-$(ls  | wc -l)) | tail -1'*

 j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.progclub.org/pipermail/programming/attachments/20190619/cb256838/attachment.html>


More information about the programming mailing list