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 9: | Line 9: | ||
* <code>[[export]] TERM=[[xterm]]</code> | * <code>[[export]] TERM=[[xterm]]</code> | ||
− | * <code>export AWS_CLI_AUTO_PROMPT=on</code> | + | * <code>export [[AWS_CLI_AUTO_PROMPT]]=on</code> |
Revision as of 04:21, 17 August 2021
This article is a Draft. Help us to complete it.
export YOUR_VARIABLE="YOUR_VALUE"
export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))
echo 'export HISTTIMEFORMAT="%d/%m/%y %T "' >> ~/.bash_profile
[1]
ssh SERVER_NAME -t "export PS1=your_text; bash"
export AWS_CLI_AUTO_PROMPT=on
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: