Difference between revisions of "Standard input (/dev/stdin)"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* [[Compress]] data from <code>[[stdin]]</code>: <code>echo "DATA TO COMPRESS" | [[xz]] --verbose > file.xz</code> | * [[Compress]] data from <code>[[stdin]]</code>: <code>echo "DATA TO COMPRESS" | [[xz]] --verbose > file.xz</code> | ||
* <code>[[docker logs]] 2>&1 | grep TEXT </code> | * <code>[[docker logs]] 2>&1 | grep TEXT </code> | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[tee]]</code> | ||
== See also == | == See also == |
Revision as of 06:48, 21 February 2021
This article is a Draft. Help us to complete it.
2>&1
&>
Activities
- Compress data from
stdin
:echo "DATA TO COMPRESS" | xz --verbose > file.xz
docker logs 2>&1 | grep TEXT
Related terms
See also
cat
,tac
,more
,less
,tail
,mtail
,echo
,stdin
,tr
,column
,paste
,truncate
,logrotate
,xzcat
pv
,progress
,sort
,ncat
,virt-cat
,awk
,join
,col
,fold
,tee
,sponge
,nfs-cat
,journalctl, ccat, icat, EOF
, lolcat- Standard streams:
/dev/stdin
,/dev/stdout
,/dev/stderr
,/dev/null
, File descriptor,set -x, 2>&1, stdbuf
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, $@
- Performance, monitoring, sysstat, metrics, Telemetry
Advertising: