Difference between revisions of "Export (Bash buildin)"
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
Line 16: | Line 16: | ||
* <code>export [[PATH]]=$PATH:$(dirname $([[go list]] -f '{{.Target}}' .))</code> | * <code>export [[PATH]]=$PATH:$(dirname $([[go list]] -f '{{.Target}}' .))</code> | ||
+ | |||
+ | * <code>[[export]] [[AWS_PROFILE]]=your-profile</code> | ||
== GitLab CI == | == GitLab CI == |
Revision as of 14:27, 12 December 2022
https://man7.org/linux/man-pages/man1/export.1p.html
export YOUR_VARIABLE="YOUR_VALUE"
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile
[1]
export AWS_CLI_AUTO_PROMPT=on
export PATH=$PATH:$(dirname $(go list -f 'Template:.Target' .))
export AWS_PROFILE=your-profile
GitLab CI
job_name: script: - export
Related terms
~/.zshrc
env
declare -x
locale
export (TypeScript)
export -f
- GitLab environment variables
shopt
dir env:
See also
export
,env
,printenv
,declare, export -f
,/etc/environment
- Variables: Environment variables,
env
,env-cmd
,.env/
,SHELL
,PS1, HOME, $?
,PATH
,HISTFILE, PWD, LD_LIBRARY_PATH
,printenv, getenv, getenv, direnv
, AWS cli environmental variables, envsubst,env:, env_file
(docker-compose) - builtin
Advertising: