[Nottingham] how to print to bash?

Robert Hart nottingham at mailman.lug.org.uk
Fri May 9 23:32:00 2003


On Sat, 2003-05-10 at 00:11, Martin Waryniak wrote:
> Hello everybody,
> 
> I am trying to figure out how I can write an alias that prints to shell.
> Normally when declaring an alias, u give an actual command to be 
> executed when the alias is called, so
> alias c="cd Hello/LUG" would go into the dir when c is called.
> I simply wnat to print something to the shell, but declarations such as
> alias a="Hello!" do not work.
> How can I get it to print?

What on earth are you on about?

Maybe you want something like

alias a="echo Hello"

Rob