Explain the parameters before and after @ in the terminal prompt The 2019 Stack Overflow Developer Survey Results Are InError message “sudo: unable to resolve host (none)”What does the name after '@' at terminal prompt mean?Determining the geometry parameters of a running terminalColoring the terminal prompt text issueNO prompt for the terminalChange the terminal promptHow to show a running clock in terminal before the command promptTerminal command prompt missingWhere are commands of the netinstall mini.iso documented?Some basic questions about installing PHP on ubuntuReverse Terminal Command prompt

Why doesn't UInt have a toDouble()?

What's the name of these plastic connectors

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?

Slides for 30 min~1 hr Skype tenure track application interview

Geography at the pixel level

If a sorcerer casts the Banishment spell on a PC while in Avernus, does the PC return to their home plane?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Why can't devices on different VLANs, but on the same subnet, communicate?

Is it safe to harvest rainwater that fell on solar panels?

What information about me do stores get via my credit card?

Does adding complexity mean a more secure cipher?

Button changing its text & action. Good or terrible?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Is Cinnamon a desktop environment or a window manager? (Or both?)

How can I define good in a religion that claims no moral authority?

How to obtain a position of last non-zero element

What do these terms in Caesar's Gallic wars mean?

How do I free up internal storage if I don't have any apps downloaded?

Can we generate random numbers using irrational numbers like π and e?

Can I have a signal generator on while it's not connected?

Worn-tile Scrabble

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Can there be female White Walkers?



Explain the parameters before and after @ in the terminal prompt



The 2019 Stack Overflow Developer Survey Results Are InError message “sudo: unable to resolve host (none)”What does the name after '@' at terminal prompt mean?Determining the geometry parameters of a running terminalColoring the terminal prompt text issueNO prompt for the terminalChange the terminal promptHow to show a running clock in terminal before the command promptTerminal command prompt missingWhere are commands of the netinstall mini.iso documented?Some basic questions about installing PHP on ubuntuReverse Terminal Command prompt



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















What do the values in the prompt mean?



alexey511@rgb-3345:~$ 


I know it is a very basic question. But I am struggling with this problem and I cannot solve it because of the lack of the basic understanding. After googling I didn't find any explanation. (Certainaly it is hidden somewhere in the documentation and one should read probably hundreds of pages to get there).



I'd appreciate your help. I really like to get knowing with Linux but first steps are somehow not easy.










share|improve this question






























    2















    What do the values in the prompt mean?



    alexey511@rgb-3345:~$ 


    I know it is a very basic question. But I am struggling with this problem and I cannot solve it because of the lack of the basic understanding. After googling I didn't find any explanation. (Certainaly it is hidden somewhere in the documentation and one should read probably hundreds of pages to get there).



    I'd appreciate your help. I really like to get knowing with Linux but first steps are somehow not easy.










    share|improve this question


























      2












      2








      2


      0






      What do the values in the prompt mean?



      alexey511@rgb-3345:~$ 


      I know it is a very basic question. But I am struggling with this problem and I cannot solve it because of the lack of the basic understanding. After googling I didn't find any explanation. (Certainaly it is hidden somewhere in the documentation and one should read probably hundreds of pages to get there).



      I'd appreciate your help. I really like to get knowing with Linux but first steps are somehow not easy.










      share|improve this question
















      What do the values in the prompt mean?



      alexey511@rgb-3345:~$ 


      I know it is a very basic question. But I am struggling with this problem and I cannot solve it because of the lack of the basic understanding. After googling I didn't find any explanation. (Certainaly it is hidden somewhere in the documentation and one should read probably hundreds of pages to get there).



      I'd appreciate your help. I really like to get knowing with Linux but first steps are somehow not easy.







      16.04 command-line






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 7 at 17:43









      MEE the setup wizard

      1033




      1033










      asked Apr 7 at 7:48









      alex511ZUalex511ZU

      193




      193




















          2 Answers
          2






          active

          oldest

          votes


















          9














          The part before the "@"



          alexey511


          is your username; check with



          $ whoami
          alexey511


          The part between "@" and ":"



          rgb-3345


          is the hostname:



          $ hostname
          rgb-3345


          The part between ":" and "$"



          ~ 


          is the current working directory, abbreviated to the tilde which is a synonym for your home directory:



          $ pwd
          /home/alexey511


          And finally the "$" is the actual "prompt" sign, indicating you're a normal user (instead of root, in which case it would read "#"), and that command input is expected from you here.



          Altogether this is a fairly vanilla shell prompt which is defined and assigned to the environment variable PS1 like this (without color codes for better readability), usually in the file ~/.bashrc:



          PS1='u@h:w$ '


          If you want to experiment with it, check out this page:



          https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/






          share|improve this answer
































            0














            The prompt in the terminal is set by the variable PS1.



            echo $PS1 shows how it is set in your system, and



            man bash and search for the chapter on PROMPTING gets you the possible parameters for the PS prompts.



            PS1 is set in .bashrc file.






            share|improve this answer























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131814%2fexplain-the-parameters-before-and-after-in-the-terminal-prompt%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              9














              The part before the "@"



              alexey511


              is your username; check with



              $ whoami
              alexey511


              The part between "@" and ":"



              rgb-3345


              is the hostname:



              $ hostname
              rgb-3345


              The part between ":" and "$"



              ~ 


              is the current working directory, abbreviated to the tilde which is a synonym for your home directory:



              $ pwd
              /home/alexey511


              And finally the "$" is the actual "prompt" sign, indicating you're a normal user (instead of root, in which case it would read "#"), and that command input is expected from you here.



              Altogether this is a fairly vanilla shell prompt which is defined and assigned to the environment variable PS1 like this (without color codes for better readability), usually in the file ~/.bashrc:



              PS1='u@h:w$ '


              If you want to experiment with it, check out this page:



              https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/






              share|improve this answer





























                9














                The part before the "@"



                alexey511


                is your username; check with



                $ whoami
                alexey511


                The part between "@" and ":"



                rgb-3345


                is the hostname:



                $ hostname
                rgb-3345


                The part between ":" and "$"



                ~ 


                is the current working directory, abbreviated to the tilde which is a synonym for your home directory:



                $ pwd
                /home/alexey511


                And finally the "$" is the actual "prompt" sign, indicating you're a normal user (instead of root, in which case it would read "#"), and that command input is expected from you here.



                Altogether this is a fairly vanilla shell prompt which is defined and assigned to the environment variable PS1 like this (without color codes for better readability), usually in the file ~/.bashrc:



                PS1='u@h:w$ '


                If you want to experiment with it, check out this page:



                https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/






                share|improve this answer



























                  9












                  9








                  9







                  The part before the "@"



                  alexey511


                  is your username; check with



                  $ whoami
                  alexey511


                  The part between "@" and ":"



                  rgb-3345


                  is the hostname:



                  $ hostname
                  rgb-3345


                  The part between ":" and "$"



                  ~ 


                  is the current working directory, abbreviated to the tilde which is a synonym for your home directory:



                  $ pwd
                  /home/alexey511


                  And finally the "$" is the actual "prompt" sign, indicating you're a normal user (instead of root, in which case it would read "#"), and that command input is expected from you here.



                  Altogether this is a fairly vanilla shell prompt which is defined and assigned to the environment variable PS1 like this (without color codes for better readability), usually in the file ~/.bashrc:



                  PS1='u@h:w$ '


                  If you want to experiment with it, check out this page:



                  https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/






                  share|improve this answer















                  The part before the "@"



                  alexey511


                  is your username; check with



                  $ whoami
                  alexey511


                  The part between "@" and ":"



                  rgb-3345


                  is the hostname:



                  $ hostname
                  rgb-3345


                  The part between ":" and "$"



                  ~ 


                  is the current working directory, abbreviated to the tilde which is a synonym for your home directory:



                  $ pwd
                  /home/alexey511


                  And finally the "$" is the actual "prompt" sign, indicating you're a normal user (instead of root, in which case it would read "#"), and that command input is expected from you here.



                  Altogether this is a fairly vanilla shell prompt which is defined and assigned to the environment variable PS1 like this (without color codes for better readability), usually in the file ~/.bashrc:



                  PS1='u@h:w$ '


                  If you want to experiment with it, check out this page:



                  https://www.howtogeek.com/307701/how-to-customize-and-colorize-your-bash-prompt/







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 7 at 9:41

























                  answered Apr 7 at 9:36









                  MurphyMurphy

                  803315




                  803315























                      0














                      The prompt in the terminal is set by the variable PS1.



                      echo $PS1 shows how it is set in your system, and



                      man bash and search for the chapter on PROMPTING gets you the possible parameters for the PS prompts.



                      PS1 is set in .bashrc file.






                      share|improve this answer



























                        0














                        The prompt in the terminal is set by the variable PS1.



                        echo $PS1 shows how it is set in your system, and



                        man bash and search for the chapter on PROMPTING gets you the possible parameters for the PS prompts.



                        PS1 is set in .bashrc file.






                        share|improve this answer

























                          0












                          0








                          0







                          The prompt in the terminal is set by the variable PS1.



                          echo $PS1 shows how it is set in your system, and



                          man bash and search for the chapter on PROMPTING gets you the possible parameters for the PS prompts.



                          PS1 is set in .bashrc file.






                          share|improve this answer













                          The prompt in the terminal is set by the variable PS1.



                          echo $PS1 shows how it is set in your system, and



                          man bash and search for the chapter on PROMPTING gets you the possible parameters for the PS prompts.



                          PS1 is set in .bashrc file.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 7 at 9:10









                          Soren ASoren A

                          3,55211024




                          3,55211024



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131814%2fexplain-the-parameters-before-and-after-in-the-terminal-prompt%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                              Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                              What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company