ITNOA
I want to write bash script, to remove some environmental variable
my problem is when I run below command
env | grep -i _proxy= | cut -d "=" -f1 | xargs -I {} echo {}
I see below result
HTTPS_PROXY
HTTP_PROXY
ALL_PROXY
but when I replace echo with unset, something like below
env | grep -i _proxy= | cut -d "=" -f1 | xargs -I {} unset {}
I see below error
xargs: unset: No such file or directory
What is my problem? If I use xargs incorrectly?