David C.

Authored Comments

Back in the days of BBS's and MS-DOS, there was an incredible tool for drawing ASCII art screens called TheDraw ( https://en.wikipedia.org/wiki/TheDraw ).

Using a tool like this, you can save your artwork to a text file (which includes the embedded ANSI terminal sequences for cursor positioning and color changes). An application (on any OS) running on a suitable terminal device (ANSI escape sequence support and IBM code-page 437 font) can display the art by simply dumping the file to the console.

For animation, dump the file character-by-character with a delay between bytes in order to simulate the typical data rate of a 1200 or 2400 baud modem.

I suppose this is a useful command, but most of the time, if you intend to change a device's hostname, you would like it to persist across reboots.

To do this, edit the file /etc/hostname. The SystemD hostname service reads this file and will use its content to set the hostname at system startup.