Getting the trial to work on linux

thanks, got it.

Is there anyway to replace a bash command with another one when its entered?

I want to run “rlwrap -a q/l32/./q” whenever I type ./q

alias q=‘rlwrap -a /home/adnan/q/l32/q’