Kāds ir teksts pie komandrindas priekšā?

Satura rādītājs:

Kāds ir teksts pie komandrindas priekšā?
Kāds ir teksts pie komandrindas priekšā?

Video: Kāds ir teksts pie komandrindas priekšā?

Video: Kāds ir teksts pie komandrindas priekšā?
Video: Why You Must Simplify Your New Hardware Product to Succeed - YouTube 2024, Maijs
Anonim
 Bieži uzdodot jautājumus par mazākajiem un smalkākajiem jūsu skaitļošanas pieredzes elementiem, var iegūt interesantas ieskatu datoros un to vēsturē. Šodien mēs skatāmies uz mazu teksta bloku, kas atrodas komandrindas priekšā.
Bieži uzdodot jautājumus par mazākajiem un smalkākajiem jūsu skaitļošanas pieredzes elementiem, var iegūt interesantas ieskatu datoros un to vēsturē. Šodien mēs skatāmies uz mazu teksta bloku, kas atrodas komandrindas priekšā.

Šodien šī jautājumu un atbilžu sesija mums priecājas par "Stack Exchange" kopuzņēmuma SuperUser, "Sub" nodaļu, kas ir uz kopienām balstīta Q & A tīmekļa vietņu grupa.

Jautājums

SuperUser lasītājs Erty ir ziņkārīgs:

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!

Ko tas mazliet sauc?

Atbilde

SuperUser ieguldītājs Barlop piedāvā ieskatu:

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.

Ja visām šai runas sarunai jums ir komandrindas veida garastāvoklis, izlasiet dažus no tālāk minētajiem ieteikumiem par uzbrukuma dzīvi:

  • Kā personalizēt Windows komandu uzvedni
  • 5 Windows Command Prompt triki, jūs droši vien nezinat
  • Iesācējs Geek: Kā sākt lietot Linux Terminal
  • Kļūsti par Linux Terminal Power lietotāju ar šiem 8 trikiem
  • Kā pārvaldīt procesus no Linux termināļa: 10 komandas, kas jums jāzina

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: