I have created a very simple script:
#!/bin/bash # tailmail tail -f /usr/local/psa/var/log/maillog and so can now type "tailmail" from command prompt to get the maillog. I now want to be able to type: "grep spamdyke mail" instead of grep spamdyke /usr/local/psa/var/log/maillog to save me time. But a script which is: #!/bin/bash # mail /usr/local/psa/var/log/maillog does not work and says "grep: mail: No such file or directory" Can someone tell me how to basically create a new shell builtin script that will allow me to do that please? I feel that I must be close! Thanks you, as always, in advance for any assistance. Kind Regards, Christoph
_______________________________________________ spamdyke-users mailing list spamdyke-users@spamdyke.org http://www.spamdyke.org/mailman/listinfo/spamdyke-users