Live data from Hacker News

 in Your System Prompt

bbs-software.com

1–10 of 18 posts

Re:  in Your System Prompt

#2
U+F8FF is the last code-point of the private use zone. Appearance of the character is entirely random and depends on the font in use. Don't use it for anything outside of an environment you can control. For me it's displayed as a rectangle with F8FF in it, because I'm using Linux, which surprisingly does not ship fonts with the Apple logo in it ;)

Re:  in Your System Prompt

#4
Several years ago, while being logged into and working on several remote Linux servers simultaneously, I rebooted the wrong one.

I realized it approximately .002 milliseconds after pressing (after "shutdown -r now") but it was too late.

Since then, I use one style of prompt on my personal machines and other non-critical hosts. On production/critical machines, I use a different style of prompt that stands out quite a bit and includes the hostname in all caps.

It seems simple (and it is) but it has done the job of keeping me from rebooting a critical production machine during the middle of the day.

Re:  in Your System Prompt

#5
post #2

U+F8FF is the last code-point of the private use zone. Appearance of the character is entirely random and depends on the font in use. Don't use it for anything outside of an environment you can control. For me it's displayed as a rectangle with F8FF in it, because I'm using Linux, which surprisingly does not ship fonts with the Apple logo in it ;)

Ubuntu Mono font has an Apple logo in it.

Re:  in Your System Prompt

#10
post #4

Several years ago, while being logged into and working on several remote Linux servers simultaneously, I rebooted the wrong one. I realized it approximately .002 milliseconds after pressing (after "shutdown -r now") but it was too late. Since then, I use one style of prompt on my personal machines and other non-critical hosts. On production/critical machines, I use a different style of prompt that stands out quite a…

You are gonna loooove molly-guard then.

Although the different prompt style for remote systems is still handy, cause there's tons of other stuff you can do accidentaly that could cause damage.

Post reply on HN