QuestionQ39Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich command below assigns the content FOO to the Bash variable named TEST?Aset TEST="FOO"BTEST = "FOO"Cvar TEST="FOO"DTEST="FOO"Show AnswerAnswerExplanationBash assigns a shell variable with the syntax name=value, without spaces surrounding =. Therefore, TEST="FOO" sets TEST to FOO.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion