10 lines
121 B
Bash
Executable File
10 lines
121 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "Usage: $0 </dev/ttyX> <progfile>"
|
|
exit 1
|
|
fi
|
|
|
|
stty -F "$1" raw
|
|
cat "$2" > "$1"
|