What I’m trying to do is to make this script read a users input and them perform the command with the users input. I got echo working, but I can’t get the rest to work after.
gnome-terminal -t 'Change User Password' \
-x bash -c "echo 'What user needs their password change?' ; bash" \
-x bash -c "read pswu ; bash" \
-x bash -c "passwd $pswu ; bash"
Another question: I would like to know how to right-click a file and run a script with the filename without path or extension.
Try something like this: