echo
Examples
echo -e '\a'
Do not output the trailing newline
echo -n
Truncate a file
echo "" > filename
Print a new line after command output:
kubectl get secret mykubedashboard-kubernetes-dashboard-token-8wfsh -o jsonpath="{.data.token}" | base64 --decode; echo
Related terms
printf
Bash built-intput
:tput bel
- Format string attack
logger
append
- Ansible print and debug examples
truncate
- Echo go web framework
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: