QuestionQ45Verified/The Power of the Command LineCopy linkReport a problemAsk AstroTutorSave questionWhich of the following commands assigns the value bob to the variable USERNAME?Aset USERNAME bobB$USERNAME==bobCvar USERNAME=bobDUSERNAME<=bobEUSERNAME=bobShow AnswerAnswerExplanationPOSIX-style shell variable assignment uses the syntax NAME=value, with no spaces around =. USERNAME=bob therefore sets USERNAME to bob.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion