Quantcast
Channel: Using chown $USER:$USER inside bash script - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 6

Answer by marcosjsramos for Using chown $USER:$USER inside bash script

$
0
0

In order to simplify the problem and since your are getting the variable sitename, why don't you read a username variable?

With that you'd make sure that the script execution is not dependent on the environmental variables made available the way the script is executed.


Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>