0

when i write bash the output appear on th screen ....i don't want to display the command and the command output on screen how i can do it ?

Mohammad AL-Rawabdeh
  • 1,592
  • 12
  • 30
  • 54

2 Answers2

2
somecommand &> /dev/null
Ignacio Vazquez-Abrams
  • 45,019
  • 5
  • 78
  • 84
0

In windows, you can use NUL as in:

somecommand > NUL

(Please change the tags to reflect that this is actually a Windows, not unix/bash question)

yshalbar
  • 103
  • 3