Difference between revisions of "Echo"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 4: | Line 4: | ||
== Examples == | == Examples == | ||
* <code>[[echo -e]] '\a'</code> | * <code>[[echo -e]] '\a'</code> | ||
− | * <code>echo -n</code> | + | Do not output the trailing [[newline]] |
+ | * <code>echo -n</code> | ||
* <code>[[echo]] "" > filename</code> | * <code>[[echo]] "" > filename</code> | ||
[[kubectl get secret]] mykubedashboard-[[kubernetes-dashboard]]-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo | [[kubectl get secret]] mykubedashboard-[[kubernetes-dashboard]]-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo | ||
− | |||
− | |||
− | |||
== Related terms == | == Related terms == |
Revision as of 05:50, 16 March 2023
Examples
echo -e '\a'
Do not output the trailing newline
echo -n
echo "" > filename
kubectl get secret mykubedashboard-kubernetes-dashboard-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo
Related terms
See also
echo
,print, printf
,tput
,logger
,write-output, echo -e, /dev/stdout, banner
print, strcat, echo
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: