I’m running some code on a fairly locked-down cluster. I’m still figuring out what I can and can’t do on this machine (e.g. I can’t edit my own .bashrc, but I can set up RSA authentication for SSH).
Anyway, it appears that the cluster has disallowed using alias. When I do alias tinyName=/path/to/really_really_long_executable_filename, typing the command tinyName gives command not found.
Assuming that alias is off limits, are there any alternatives to alias that allow me to avoid typing /path/to/really_really_long_executable_filename every time?
P.S. The machine that I’m running on is NERSC Carver, and I haven’t yet found list of which Linux commands are off-limits on this cluster.
Aside from configuring your shell correctly, you can create alias “scripts” and put them in your
PATH. It’s suboptimal, but might be appropriate for your target.e.g.: