I want to save ${1}
argument passed to my script (${1}
is a file path) into a string variable within the same shell script, and then echo
the path using echo variable
and not echo ${1}
.
相关问题
- How to get the return code of a shell script in lu
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Invoking Mirth Connect CLI with Powershell script
- Error building gcc 4.8.3 from source: libstdc++.so
Simply try doing this :
Saving argument to variable 'var' ::
Echo the variable ::