What does ${0%/*} in shell scripts do? – askubuntu.com 15:02 Posted by Unknown No Comments Sorry if this is a stupid question, but I searched about it without success. What does exactly the second command do ?: #!/bin/sh cd ${0%/*} || exit 1 I know the first is the shebang,the ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "What does ${0%/*} in shell scripts do? – askubuntu.com"
Post a Comment