I am still a junior with the linux shell script and would like help with a certain script.
I would run a sample shell script such as the following from the command line that takes in a directory as an argument:
./script.sh /some_dir/some_exe
How can I parse out the "some_dir" in my shell script?
Thanks.