Skip to main content
added 58 characters in body
Source Link

Compile writevt.c: gcc writevt.c -o writevt

Then send commands by ./writevt /dev/ttyN 'ls -al^M'. ^M means return char, which is obtained by typing ctrl-v ctrl-m.

SeeNames pipes and screen/tmux are also efficient methods, you may see thishere for other methodsdetails.

Compile writevt.c: gcc writevt.c -o writevt

Then send commands by ./writevt /dev/ttyN 'ls -al^M'. ^M means return char, which is obtained by typing ctrl-v ctrl-m.

See this for other methods.

Compile writevt.c: gcc writevt.c -o writevt

Then send commands by ./writevt /dev/ttyN 'ls -al^M'. ^M means return char, which is obtained by typing ctrl-v ctrl-m.

Names pipes and screen/tmux are also efficient methods, you may see here for details.

Source Link

Compile writevt.c: gcc writevt.c -o writevt

Then send commands by ./writevt /dev/ttyN 'ls -al^M'. ^M means return char, which is obtained by typing ctrl-v ctrl-m.

See this for other methods.