[slurm-users] srun with &&, |, and > oh my!

Try first with small things like shell scripts you write which would

tell you where the thing is running (e.g. by using hostname). Keep in

mind that what would happen will most importantly depend on the shell.

For example, if you use “sudo” you know that using wildcards is

tricky, because your username you sudo from may not have reading

permissions to expand them, so will pass them literally to the

command, rather than expanding them as root.

Bottom line, good to be afraid. Understand shell syntax, but don’t
trust and instead verify what happens with innocuous things before
opening the firehose :-)

Read more here: Source link