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

Does a dangling wire really electrocute me if I'm standing in water?

What is the use of option -o in the useradd command?

What tool would a Roman-age civilization have to grind silver and other metals into dust?

What is the best strategy for white in this position?

If the Wish spell is used to duplicate the effect of Simulacrum, are existing duplicates destroyed?

How can I fix this gap between bookcases I made?

Why is it "Tumoren" and not "Tumore"?

Does duplicating a spell with Wish count as casting that spell?

aging parents with no investments

How to manage monthly salary

How to deal with fear of taking dependencies

How to create dashed lines/arrows in Illustrator

Why is the maximum length of OpenWrt’s root password 8 characters?

Time travel alters history but people keep saying nothing's changed

Inversion Puzzle

Can the Protection from Evil and Good spell be used on the caster?

Why can Shazam do this?

Understanding the implication of what "well-defined" means for the operation in quotient group

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Protecting Dualbooting Windows from dangerous code (like rm -rf)

What does "sndry explns" mean in one of the Hitchhiker's guide books?

What is this 4-propeller plane?

Dual Citizen. Exited the US on Italian passport recently

Is three citations per paragraph excessive for undergraduate research paper?



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 2 days ago









      MEE the setup wizard

      1033




      1033










      asked 2 days ago









      alex511ZUalex511ZU

      193




      193




















          2 Answers
          2






          active

          oldest

          votes


















          8














          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









              8














              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





























                8














                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



























                  8












                  8








                  8







                  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 2 days ago

























                  answered 2 days ago









                  MurphyMurphy

                  793315




                  793315























                      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 2 days ago









                          Soren ASoren A

                          3,54211024




                          3,54211024



























                              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







                              -16.04, command-line

                              Popular posts from this blog

                              Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

                              Frič See also Navigation menuinternal link

                              Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant