Is there a reason to be reminded of your hostname every time you're about to type a command...

Is there a reason to be reminded of your hostname every time you're about to type a command? I'm not asking how to turn it off, I just want to know if anyone benefits from this design choice. I get showing what directory you're in, what permissions you have ($ or #), and the user you're logged into, but what's the point in showing the computer's name. Is it something for sysadmins?

Attached: terminal[1].png (433x282, 10K)

Yes, when you're not a neet incel pretending to be cool, you're actually someone with a job making money and as a result have to ssh into hundreds of machines throughout the course of your work and need to know what host you're on.

If you're ssh'ing between different servers, it's useful to see the hostname of which specific machine you're working on.

>I've never managed a machine remotely in my life

>Is it something for sysadmins?
yes, they often have many windows, logged into variety of remote machines and you could mess up there easily. you don't usually need that shit though, i certainly don't

Attached: cock.png (738x426, 60K)

I changed my bash_config to show me just my username and the current git branch. But if I'm remoting into someone else's machine, yes I always want to know the hostname.

Attached: Screenshot 2019-05-13 at 22.35.54.png (1392x519, 91K)

>alex
Top tier name, lad.
ALEX OF THIS BOARD UNITE!

yass fellow alex, always welcome to hear from another quality first name

nice woman's name fags

Attached: alexdelarge.gif (500x300, 635K)

t. Michael

Attached: 1557665905492.gif (408x225, 1.76M)

Alex isn't my given name, but whenever I order coffee, I give them Alex, just because it's easier to spell on the receipt. Am I still welcome?

>posting the gayest fucking character ever
thanks

Yeah buddy, I support the use of the name Alex even by Non Alex

you shall henceforth be known as alyx

Besides remote servers, I also SSH into virtual machines with some frequency.

that was just a phase

Attached: 3a9aea4f053debe3f652247a530ddafe.gif (499x299, 993K)

it's useful for only sysadmins
as a dev it is useless, even if you ssh to some server, vm, docker, heroku machine you won't ever go throught different hosts
sysadmins need that, because they often ssh into some 'gateway' hosts to ssh from there into some other host in another network
as a dev why would I need that?
typing hostname, whoami, pwd, git status is not much at all
I don't understand why do you need anything more than '\\$' as a PS1
actually verbose prompts are kind of distracting and don't make anything easier

my name is alexander but i go by sascha or just alexander. alex always sounded like a weird name to me.

>Calling the character who rapes a women for fun gay
Ok dude

>typing hostname, whoami, pwd, git status is not much at all
>I don't understand why do you need anything more than '\\$' as a PS1
>actually verbose prompts are kind of distracting and don't make anything easier
Any time you have multiple shells running in different windows or tabs with different combinations of users and hosts it's nice to be able to tell at a glance which is which. I don't want to have to paste "hostname; whoami" into five windows to find the root@dvm-02 shell.

I've only ever written a few small, simple programs for personal use, but for me that process has always involved being logged into several machines at once for testing purposes.

One reasonable alternative to having it in the prompt would be to have in the window title of your terminal emulator. I think that there's nothing nice, though, about being able to look at the the command you just entered and its output in your terminal and having the information about what machine and user executed the command right there in the same line as the command. When the output isn't what you expect, the line showing the command you entered is the first place you look, and having that information there could make your mistake more obvious than it would otherwise be. Having that info right in the place that you're looking as you type commands could also prevent you from making mistakes like running "shutdown -h now" on your server when you meant to do it on your desktop.

In any case, if the verbosity of a "user@host" prompt is a real problem I'd say you've picked bad usernames and hostnames.

>I don't understand why do you need anything more than '\\$' as a PS1
jokes on you, I have a multi-line PS1

>nothing nice
somehting nice