How can the normal output of a command be written to a file while - ProProfs Discuss
Advertisement

How can the normal output of a command be written to a file while discarding the error output?

How can the normal output of a command be written to a file while discarding the error output?<br/>

Change Image    Delete

Asked by Gdeisat, Last updated: Nov 19, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

gdeisat

gdeisat

gdeisat
Gdeisat

Answered Jan 09, 2019

Command> file2>/dev/null
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.