After a long break I have some more ideas…. Will be posting them soon. For now, I leave you with a command to clear your current environment:
root@67 [~]# printenv | wc -l
26
root@67 [~]# env -i printenv | wc -l
0
This is very useful when you want to run a command ignoring any environment variables you have set. I use this command with curl nearly everyday to ignore the http_proxy environment variable I have set. Another, longer, option is:
root@67 [~]# http_proxy="" curl ....
I prefer env -i as its simpler.










don't forget to vote if you find something useful!!
42 weeks 4 days ago
43 weeks 1 day ago
46 weeks 16 hours ago
48 weeks 4 days ago
48 weeks 4 days ago
48 weeks 5 days ago
48 weeks 5 days ago
1 year 2 days ago
1 year 2 weeks ago
1 year 2 weeks ago