j0h

rediect_remote_terminals.txt

j0h
Jan 15th, 2026
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $w
  2. # get active users and shells
  3. $sudo chvt 1
  4. # change to active shell. here tty1
  5.  
  6. $python3 /home/pi/wave.py > /dev/tty1 2>&1
  7. # tell python to run the wave.py program and display on the other terminal and not this terminal
Advertisement
Add Comment
Please, Sign In to add comment