Categories
Why doesn't path work from a variable?
dir="/home/$USER/temp" wget -P $dir http://download.redis.io/releases/redis-$release.tar.gz tar xzf $dir/redis-$release.tar.gz
tar
Answer the question
In order to leave comments, you need to log in
Where do you set the $release variable? $USER is a system variable, it is set by the bash itself when starting the bash process as a user. What is $release?
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question