Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Redirect output from terminal

$
0
0
i make a shell script. There has a line wget
Code:

https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz
When this line execute terminal show some text like this
Code:

Resolving cisofy.com (cisofy.com)... 149.*.*.*
Connecting to cisofy.com (cisofy.com)|149.*.*.*|:4444... connected.
HTTP request sent, awaiting response... 200 OK
Length: 180493 (176K) [application/octet-stream]
Saving to: `lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz.1'

100%[======================================>] 180,493    56.5K/s  in 3.1s   

2015-05-13 03:46:43 (56.5 KB/s) - `lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz.1' saved [180493/180493]

I want that the terminal don't show any text when the line execute. I tried
Code:

https://cisofy.com/files/lynis-2.1.0-88394c1affb9e23bd7390098947b3fd4b04e35e8.tar.gz | &> /dev/null
but it not work.:(
Please help me :(

Viewing all articles
Browse latest Browse all 16232

Trending Articles