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 6: | Line 6: | ||
ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash" | ssh SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash" | ||
+ | |||
+ | * <code>[[export]] TERM=[[xterm]]</code> | ||
Revision as of 06:22, 2 March 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"
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: