-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Many thanks HayworeMac!
Your suggestion works like wonder.


On Saturday 06 September 2003 08:40 am, HaywireMac wrote:
> On Sat, 6 Sep 2003 08:05:13 +0700
>
> Fajar Priyanto <[EMAIL PROTECTED]> uttered:
> > Hi all,
> > I run several tail commands to monitor several log files everyday.
> > Instead of typing all the commands one by one on each terminal, is
> > there any way I can make this automatic or I can make some kind of
> > shortcut for the job?
>
> also, create aliases in your .bashrc, like so:
>
> alias tailp="tail -f ~/procmaillog"
>
> then type "bash" to save it.
>
> or write a script and bind it to a key combo if your WM supports it,
> like so (pekwm keys file):
>
> Chain = "Mod4 n" {
>               KeyPress = "f" { Actions = "exec ~/bin/filter" }
>
> where filter is:
>
> #!/bin/sh
> ~/bin/etermlog -n filter_local -e tail -n 50 -f ~/logs/deleted.log "$@"
>
>   exit $?
>
> and etermlog is:
>
> #!/bin/sh
> exec /usr/bin/Eterm -F drift --bold-font \
> drift -g 189x37 --shade 30 "$@"
>
>   exit $?

- -- 
- --
This message was compose on a 100% GNU/Linux machine

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/WT67UrYxG8KGMVERAm+zAJ9Dad+PwDWt8ZxREgAxc81AmE9/KgCcDqbp
cEmixN2YCoMcLNzUwKG0VSk=
=oh6b
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to