bash script: different results when called with or without sudo – askubuntu.com 06:10 Posted by Unknown No Comments In Ubuntu 16.04.3, I have a very simple bash script: test.sh [[ 0 == 0 ]] && result="true" || result="false" echo $result echo $USER $SHELL $0 When I call it as the non-root user me or as ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "bash script: different results when called with or without sudo – askubuntu.com"
Post a Comment