Audio feedback to shell output
The -f switch to the tail command is a great help when it comes to keeping track of what is going on in some log file. But sometimes you just can’t keep your eyes on the output to see if something is happening. At those times it would help to have some other indication that there is activity. The following small Perl script emits a beep whenever there is a line of data being output.
#!/usr/bin/perl
while(<>)
{
print "\007" . $_;
}
Just tack the script somewhere in your path. Then, whenever you want some audio feedback just pipe the output to the Perl script (i.e. {some command} | beeper.pl).
abercrombie Deutschland
Coming from the standpoint of a fellow member with the fashion business, I genuinely enjoy your article.
hollister uk
What a fun pattern! It’s great to hear from you and see what you’ve sent up to. All of the projects look great! You make it so simple to this.Thanks!