Consider the following:
$ module cmdModule.c(166):ERROR:11: Usage is 'module command [arguments ...] ' Modules Release 3.2.6 2007-02-14 (Copyright GNU GPL v2 1991): Usage: module [ switches ] [ subcommand ] [subcommand-args ] Switches: (...omissis...) $ which module no module in (...long list of my path) $ alias alias cp='cp -i' alias h='history | grep ' alias ls='/usr/local/bin/ls --color=always' alias mv='mv -i' alias rm='rm -i' alias vi='vim' $
Clearly, the module command is there and is available to execute, but I can't find it (easily). Digging a little bit, I found it on the system, and I noticed that it's an alias to
in module installation path.
But why it doesn't appear in the alias list and why - even if it doesn't appear - it work?