Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux hide command output

command > /dev/null 2>&1

Explanation:
	1. command > /dev/null: redirects the output of command(stdout) to /dev/null
	2. 2>&1: redirects stderr to stdout, so errors (if any) also goes to /dev/null
Comment

PREVIOUS NEXT
Code Example
Shell :: webmin restart 
Shell :: gem pg install error mac os 
Shell :: show branch detail branch info in git 
Shell :: install hyperopt 
Shell :: docker remov all running containers 
Shell :: how to install sublime text in kali linux 
Shell :: Install libqt4 ib ubuntu 
Shell :: rename pc powershell 
Shell :: command line calculate folder size 
Shell :: git pull from another branch 
Shell :: install git on linux 
Shell :: bitbucket how to undo commit 
Shell :: loop over array of strings bash 
Shell :: scp server to local 
Shell :: add arabic keyboard ubuntu 20.04 
Shell :: git not asking for password 
Shell :: manjaro nvidia driver 
Shell :: how to filter 12 character words from file bash 
Shell :: python run java jar 
Shell :: how to kill local server in ubuntu by command 
Shell :: use python as python3 zsh 
Shell :: bash nested for loop one line 
Shell :: install auth token 
Shell :: ubuntu 18.04 default display manager 
Shell :: zinit 
Shell :: download torrent magnet on linux 
Shell :: bash read file line by line 
Shell :: shell strip quotes 
Shell :: delete pid port 
Shell :: allow ping using cmd 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =