Difference between revisions of "/dev/null"
Jump to navigation
Jump to search
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[/dev/]]null | ||
− | [[/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 | ||
− | + | [[Network speed]]: | |
+ | [[pv]] <[[/dev/zero]] | [[ssh]] REMOTE_SERVER 'cat >/dev/null' | ||
+ | [[geth console]] 2>/dev/null | ||
== See also == | == See also == | ||
+ | * {{stdout}} | ||
+ | * {{devfs}} | ||
* {{proc}} | * {{proc}} | ||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 07:35, 11 June 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'
geth console 2>/dev/null
See also[edit]
- 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: