Horje
linux hide command output Code Example
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




Shell

Related
redis cache start Code Example redis cache start Code Example
install docker in linux Code Example install docker in linux Code Example
install package on specific version of python Code Example install package on specific version of python Code Example
npm install --save-dev @angular/cli@latest Code Example npm install --save-dev @angular/cli@latest Code Example
bash get package dependencies Code Example bash get package dependencies Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11