Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash dev/null

Anything sent to /dev/null will be automatically discarded. 
This is useful if we dont care about the output of a command (just that it ran).

$  grep -r hello /sys/ > /dev/null 2>&1

- discarding stdout with first >
- discarding stderr with second 2>
Comment

PREVIOUS NEXT
Code Example
Shell :: extract tar gz overwrite 
Shell :: bash mysql query count get only number 
Shell :: how to install firefox in kali linux 
Shell :: cmd take ownership of folder 
Shell :: bash fully unsquash sqfs file 
Shell :: git stash apply 
Shell :: Find what is running on port 8000 
Shell :: checking for existing ssh keys 
Shell :: wget ignore if exists 
Shell :: how to append on file in IO redirection 
Shell :: lua to tns 
Shell :: kali linux renew ip address 
Shell :: github push master 
Shell :: Update flutter command. 
Shell :: ubuntu zip folder 
Shell :: gh login 
Shell :: ubuntu get list of folders one per line 
Shell :: remove fish shell 
Shell :: ubuntu install certbot apache 
Shell :: install mongodb mac m1 
Shell :: How to check the Redis version? 
Shell :: git clear remote branch 
Shell :: Katie Leung 
Shell :: Install Specific Version of chrome on ubuntu 
Shell :: how to overwrite symlink linux 
Shell :: what process is using memory linux 
Shell :: error install pyjnius in "chaquopy 
Shell :: how install pyqt5 designer 
Shell :: git commit disable hooks 
Shell :: stripe installation 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =