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:
/home/job/folder1
if I want to use the script in folder2
I should write:
/home/job/folder2
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.