In linux, if you have declared variable: x=2, how do you get rid of variable x, as if it never existed (i.e. never been declared)?
Answer
unset x
^^ note that unset is a shell built-in command
Question
In linux, if you have declared variable: x=2, how do you get rid of variable x, as if it never existed (i.e. never been declared)?
Answer
?
Question
In linux, if you have declared variable: x=2, how do you get rid of variable x, as if it never existed (i.e. never been declared)?
Answer
unset x
^^ note that unset is a shell built-in command
If you want to change selection, open document below and click on "Move attachment"
20. Advanced Shell Scripting nd is an alias, a built-in or a system executable. ulimit Prints and sets various user resource limits like memory usage limits and CPU limits. See bash (1) for details. umask See Section 14.2. <span>unset VAR Deletes a variable or environment variable. unset -f func Deletes a function. wait Pauses until all background jobs have completed. wait PID Pauses until background process with pro
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.