informatique:linux:expect
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | informatique:linux:expect [2018/01/05 14:03] (current) – créée pteu | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <WRAP center round important 60%> | ||
| + | méchant BROUILLON | ||
| + | </ | ||
| + | Les redirections ne fonctionnent pas dans un spawn (les caractères ''<'' | ||
| + | <code bash> | ||
| + | # ne fonctionne pas | ||
| + | spawn ssh $USER@$HOST $CMD < $INPUT_FIC | ||
| + | |||
| + | # fonctionne ! | ||
| + | spawn sh -c "ssh $USER@$HOST $CMD < $INPUT_FIC" | ||
| + | </ | ||
informatique/linux/expect.txt · Last modified: 2018/01/05 14:03 by pteu