PDA

View Full Version : Quick Alias Question



EADG
February 9th, 2007, 05:27 AM
Hello all.... first post. Lovin' the forum.

I want to have this alias run in the background, but not sure how... I keep getting errors because I can't figure out how\where to put the "&"

alias rmw="wipe -rqsf"

The normal command works fine when used liked this;
wipe -rqsf myfile.doc &

Any suggestions?

engineer
February 9th, 2007, 09:39 AM
did you try?



rmw myfile.doc &


if you don't want to type the &, you'll need a short shell script.
as far as i know this can't be done with aliases alone

EADG
February 9th, 2007, 10:10 AM
Thanks engineer. It's working now...