Difference between revisions of "PS1"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 3: | Line 3: | ||
[[ssh]] SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash" | [[ssh]] SERVER_NAME -t "[[export]] [[PS1]]=your_text; bash" | ||
+ | |||
+ | |||
+ | Examples: | ||
+ | PS1='[\u@\h \W]\$ ' | ||
Revision as of 06:45, 1 September 2020
This article is a Draft. Help us to complete it.
ssh SERVER_NAME -t "export PS1=your_text; bash"
Examples:
PS1='[\u@\h \W]\$ '
See also
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: