stty: standard input: Inappropriate ioctl for device - Raspberry Pi Forums


hello :)

i'm trying automatically enter input password or answers in shell script.

want automatically:
#mycommand
enter password : pwd

have error message when launch script:
stty: standard input: inappropriate ioctl device

here code (i tryed 2 versions):
v1:
comand << %
password
%

v2:
comand < pwd
(pwd file password)

thx :)

what command trying use? if it's ftp create /home/pi/.ftprc file credentials.


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support