Difference between revisions of "/dev/null"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
[[curl -sS -D]] - https://google.com -o /dev/null | [[curl -sS -D]] - https://google.com -o /dev/null | ||
+ | |||
+ | [[Network speed]]: | ||
+ | [[pv]] <[[/dev/zero]] | [[ssh]] REMOTE_SERVER 'cat >/dev/null' | ||
== See also == | == See also == |
Revision as of 08:36, 18 February 2024
/dev/null
script.sh > /dev/null 2>&1
2>/dev/null
apt -qq -y update > /dev/null && apt upgrade -y > /dev/null &
curl -sS -D - https://google.com -o /dev/null
pv </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'
See also
- stdout, printf
/dev/
,/dev/loop, /dev/zero
,/dev/fd/
/dev/kvm
,/dev/null
,/dev/loop
,/dev/rfkill
,/dev/shm
,/dev/nbd
,/dev/xvda, /dev/nvme, /dev/sda, /dev/vda
- FHS,
/proc/
,/proc/net/
,/boot/
,/run/
,/dev/
,/usr/
,/var/run/
,/etc/
,/var/
,/var/lib/
/var/log/
,/var/www/
,/opt/
,/lib/
,/sys/
,/proc/kcore
,/proc/sys/, /proc/sys/vm/
,/snap/
,/mnt/
,/mnt/data
,/var/opt/, /usr/bin/
,/lib/, /proc/$PID/, /proc/self/
Advertising: