66
www.obarun.org
66-writenv
66-writenv stores its environment variables at a specific file location.
Interface
66-writenv [ -h ] [ -m mode ] dir file
-
This tool write its environment variables into dir/file under the classic format key=value pair and thoses one per line. dir must be an absolute path.
- Return 0 on success and 111 on fail.
Options
- -h : prints this help.
-
-m mode : create dir with mode mode if it doesn't exist yet. Default is 0755.