Find the answer to your Linux question:
Results 1 to 3 of 3
I have some variable substitutions that I created that I no longer need. I can't figure out how to remove them, and I haven't been able to locate any instructions ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Location
    Ohio
    Posts
    25

    How do you remove a variable substitution command?


    I have some variable substitutions that I created that I no longer need. I can't figure out how to remove them, and I haven't been able to locate any instructions to do so.

    For example, I created a variable such as MAKEFILE="touch file1.txt touch file2.txt"

    Now I want to get rid of $MAKEFILE. How do I do that?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Code:
    unset MAKEFILE

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Location
    Ohio
    Posts
    25
    Thank you.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •