Answer the question
In order to leave comments, you need to log in
How to write the history of commands entered via ssh in dd-wrt?
The wl500 router is flashed with dd-wrt (linux). When connecting via ssh, you have to enter long commands every time. I would like an analogue of history, so that the history of the entered commands is saved between connections. Is it real?
Answer the question
In order to leave comments, you need to log in
cat > /tmp/run.sh << EOF
echo "1"
echo "2"
EOF
chmod +x /tmp/run.sh
As a solution
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question