I am a completely new user to UNIX shell programming. I want to know how I can pass a variable that is now a comment to another comment which is for getting a file from a website. For example:I have made this variable as a command:password1=$(.....)and my new command is like this:wget http://.........?something&thecommandiscontinuesI want to replace the word something with the output from my password1 command, so that I do not have to write a new script and manually enter it myself.Please help me with writing simply and giving me solution. I have been working on this problem several weeks, but not resolved yet. Thank you.
How to pass a variable in a command in UNIX?
shell;variable