Sample Header Ad - 728x90

Why " >/dev/console" for remote beep (echo-command)

2 votes
1 answer
1382 views
I've learned that this command: echo -e "\a" triggers a beep on the local system, whereas this command: echo -e "\a" >/dev/console triggers a beep on a remote system. Why is this? What is the >/dev/console part doing? Why is it that executing echo -e "\a" on a remote machine triggers the beep locally and not remote ? Why does "echo" - command don't like sudo ? Is there a OSI-Layer - like scheme ? Please provide me with some external documentation. I have only a basic understandig of redirecting stdout/stderr to a file not much more, but the question more likely refers to how is "Gnu/Linux/Kernel" designed in order to requiere redirrection to " > /dev/console" for a remote beep to work out. Does a remote echo "Hello World" require a redirection to /dev/console ?
Asked by McErroneous (29 rep)
Jun 7, 2019, 04:45 AM
Last activity: Jun 7, 2019, 12:52 PM