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/
m (Welcome moved page Export to Export (Bash buildin)) |
|||
Line 15: | Line 15: | ||
* <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code> | * <code>export [[LANG]]=[[en_US]].[[UTF-8]]</code> | ||
− | * <code>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</code> | + | * <code>export [[PATH]]=$PATH:$(dirname $(go list -f '{{.Target}}' .))</code> |
== Related terms == | == Related terms == |
Revision as of 23:46, 11 November 2021
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' .))
Related terms
See also
export
,env
,printenv
,declare, export -f
,/etc/environment
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: