The env command may be used to remove variables from a program's environment, or to temporarily change environment variable values:
Man Page of
'env'
env -i PATH=$PATH HOME=$HOME LC_ALL=C awk '...' file1 file2
The -i option initializes the environment; i.e., throws away any inherited values, passing in to the program only those variables named on the command line.
Web Page Copyright: 亞洲大學資訊電機學院 連耀南
yaonanlien@asia.edu.tw
env1.htm, Thu Sep 7 16:18:51 CST 2023