Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Thanks, I learned a little more than I asked from your answer. I would vote up your answer also, but I'm not allowed yet and I flagged the accepted answer on the 1st one. Commented Apr 28, 2014 at 16:28
  • 2
    Thanks, I that's what I was hoping for. And a vote up is less meaningful than hearing your appreciation! Commented Apr 28, 2014 at 17:14
  • To clarify your comment under the first line of code: Yes, with the unset A variable bash expands $A to an empty string but to avoid confusion I would not use "" because the code is not equivalent to A="b" echo "". There will be no argument to echo. Commented Jun 15, 2015 at 15:10
  • Thanks. I was confused about TERM=vt100 echo $TERM showing the old value of $TERM but TERM=vt100 htop works with the new $TERM value. Your answer clears it up. Commented Feb 11 at 5:27