skip to main
|
skip to sidebar
CodeBlog
by
Vurdalakov
Main
·
Atom
·
RSS
Friday, December 17, 2010
How to redirect application output in Bash script
Following code redirects standard output (STDOUT):
ls > /dev/null
Following code redirects error output (STDERR):
ls 2> /dev/null
Following code redirects both standard (STDOUT) and error output (STDERR):
ls &> /dev/null
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Search This Blog
Labels
.net
(12)
adsb
(3)
android
(3)
ansi c
(5)
arduino
(2)
bash
(10)
batch
(14)
big data
(1)
blogger
(1)
c#
(32)
c++
(1)
capture1
(1)
cpp
(11)
creole
(1)
excel
(1)
firefox
(1)
forensics
(1)
freeware
(2)
getsimple
(3)
gif
(1)
git
(6)
gitbook
(5)
iceberg
(1)
imagesharp
(2)
ios
(1)
iot
(4)
jenkins
(3)
json
(1)
lightroom
(1)
links
(5)
linq
(4)
linux
(3)
lync
(1)
mac os x
(3)
managed c++
(2)
matlab
(2)
mercurial
(2)
mysql
(4)
nodejs
(1)
php
(5)
ps1
(4)
pxe
(2)
python
(1)
qt
(8)
raspberry pi
(13)
sas
(1)
sql
(7)
stackoverflow
(1)
swift
(1)
thingspeak
(1)
tools
(2)
ubuntu
(12)
uefi
(2)
ultraedit
(1)
unit tests
(1)
vba
(2)
visual studio
(1)
vsix
(2)
win8rt
(2)
windows
(10)
wix
(4)
wp7
(9)
wp8
(1)
wpf
(6)
xamarin
(1)
xaml
(4)
xml
(4)
No comments:
Post a Comment