Tagged Questions
2
votes
1answer
120 views
Does each user get his/her own tty(s)?
I put a simple echo command in a CLI tty by user1 expecting it to reach user2 who is logged in a separate tty.
echo "Hello, world!" >> /dev/tty5
I expected user2 to get the echo message but ...
11
votes
6answers
21k views
How to connect to a serial port as simple as using SSH?
Is there a way to connect to a serial terminal just as you would do with SSH? There must be a simpler way than tools such as Minicom, like this
$ serial /dev/ttyS0
I know I can cat the output ...
4
votes
4answers
355 views
ls command operating differently depending on recipient
How does commands like ls know what its stdout is?
It seems ls is operating different depending on what the target stdout is. For example if I do:
ls /home/matt/tmp
the result is:
a.txt b.txt ...
4
votes
4answers
920 views
How can I run `watch` as a background job?
When I run:
watch 'cmd >> output.txt' &
the job gets suspended by the system:
3569 Stopped (tty output)
Is there a workaround?
5
votes
1answer
1k views
Show a notification across all running X displays
Using the command line, I'd like show a notification on every running X display. ( and running console )
Something like:
notify-send-all 'Warning' 'Nuclear launch in 5 minutes, please evacuate'
Is ...