Wednesday, March 27, 2013

forever doless

Two very useful functions in bash that I use when having to run tests frequently are ‘forever’ and ‘doless’. Forever is just shorthand for an infinite loop
Loading ....
In the forever loop it has the advantage of restarting the command when ‘q’ is pressed which is great for a screen terminal dedicated to test runs. Compared to screen itself, it can be scrolled without needing to enter copy mode.

Doless pipes the output of a command to less while still showing the output as it is progressing until completion. 

1 comment:

  1. Emperor Casino No Deposit Bonus Codes
    Emperor Casino No Deposit link 12bet Bonus Codes, free spins, cashback offers and more! 샌즈카지노 100,000+ 제왕카지노 Casino Slots and video slots with instant play.

    ReplyDelete