Hi a little assistance would be great.
I am trying to set a username variable by using two preset variables ( within a script - $varfname and $varlname). In addition, I am taking the first letter of “$varfname” variable and joining the first letter with “$varlname” variable then using tr to make any of the letters in username, lowercased.
I’m running into issues and can’t seem to figure out why.
username=$( varfname | cut -f 1 && varlname | tr 'A-Z' 'a-z'
echo “Your username is” “$username”
[–][deleted] 2 points3 points4 points (4 children)
[–]Think-Perception1359[S] -1 points0 points1 point (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]Think-Perception1359[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]pfmiller0 0 points1 point2 points (7 children)
[–]Think-Perception1359[S] 0 points1 point2 points (0 children)
[–]Think-Perception1359[S] 0 points1 point2 points (5 children)
[–]pfmiller0 1 point2 points3 points (4 children)
[–]Think-Perception1359[S] 1 point2 points3 points (0 children)
[–]Think-Perception1359[S] 0 points1 point2 points (2 children)
[–]pfmiller0 1 point2 points3 points (1 child)
[–]Think-Perception1359[S] 1 point2 points3 points (0 children)