I'd like to use 2 inputs, (ID and PASSWORD), in a command.
The command I want to use asks me for an ID and a PASSWORD but when I use the command:
(echo ID && echo PASSWORD) | command
The ID is executed but not the PASSWORD (it waits for a password to be entered) and I don't know why...
I spent lot of time trying to find an answer but I failed... Is there anybody who can help me?
echo IDandecho PASSWORD, or it fails, because the way you try it always appends a space afterIDandPASSWORDand your command doesn't accept ID/Passwords with spaces ...