Hva kalles teksten foran kommandolinjen?

Innholdsfortegnelse:

Hva kalles teksten foran kommandolinjen?
Hva kalles teksten foran kommandolinjen?

Video: Hva kalles teksten foran kommandolinjen?

Video: Hva kalles teksten foran kommandolinjen?
Video: 10 Best Woodworking Tools for DIY Projects - YouTube 2024, April
Anonim
 Ofte stiller du spørsmål om de minste og mest subtile elementene i din databehandling, kan du gi interessante innblikk i datamaskiner og deres historie. I dag ser vi på den lille tekstblokken som sitter på forsiden av kommandolinjen.
Ofte stiller du spørsmål om de minste og mest subtile elementene i din databehandling, kan du gi interessante innblikk i datamaskiner og deres historie. I dag ser vi på den lille tekstblokken som sitter på forsiden av kommandolinjen.

Dagens Spørsmål og svar sesjon kommer til oss med høflighet av SuperUser, en underavdeling av Stack Exchange, en fellesskapsdrevet gruppering av Q & A-nettsteder.

Spørsmålet

SuperUser leser Erty er nysgjerrig:

Is there a name for the text that shows up at the front of each command at the Command Line Interface. For example, in Ubuntu when I start up a terminal, it says:

username@computer:~$ And in Windows:

C:UsersUsername> Is there a formal way to refer to that text?

Thanks in advance!

Hva heter den lille?

Svaret

SuperUser-bidragsyter Barlop gir litt innsikt:

It’s called ‘the prompt’

In linux, you could be more specific and say “the bash prompt” in the case of the bash shell, or for the KSH shell, The KSH (korn shell) prompt etc. In Windows you can change the prompt with the PROMPT command.

In windows, you could be more specific and say “the C prompt”, and the prompt in windows is most famously C:> or C:something…> so you can see how it gets that name. A techie might’ve frustratingly said to a user on the phone “Do you get the C prompt?”. While saying it as C prompt, some write it as The C: prompt or The C: prompt. One wouldn’t call it that when it was A: or D: (which you get when you boot DOS off floppy or cd drive, or you change to one those drives from the command prompt) and nobody talks of the A prompt or the D prompt, only the famous one, the C prompt.

Hvis alt dette snakk om spørsmålet har deg i en kommandolinje slags humør, sjekk ut noen av følgende How-To Geek-artikler om livet på spørsmålet:

  • Slik tilpasser du Windows Command Prompt
  • 5 Windows Command Prompt tricks du sannsynligvis ikke vet
  • Beginner Geek: Hvordan begynne å bruke Linux Terminal
  • Bli en Linux Terminal Power User med disse 8 triksene
  • Slik administrerer du prosesser fra Linux-terminalen: 10 kommandoer du trenger å vite

Har du noe å legge til forklaringen? Lyde av i kommentarene. Vil du lese flere svar fra andre tech-savvy Stack Exchange-brukere? Sjekk ut hele diskusjonstråden her.

Anbefalt: