I have to submit a script for slurm. I should enter the directory path whenever I change the submit script path. for example if I am in
folder1 I should write manually:
if I want to use the script in
folder2 I should write:
Is there any command to avoid making this change manually?
PS: I know I can use $pwd but I did not find the right way.