bash line file output
Posted on 2006-06-09
I have the following three BASH line commands
echo $username >>/home/**/**/$username/$username
echo $password >>/home/**/**/$username/$username
That creates a directory from the variable $username [ read in from user in code above ] and then prints the $username & $password variables into a file called $username.
The data in the file is formated like below:
How can I get it so that it is formated like the next example below:
Username = $username
Password = $password
Thanks for any help.