You are not logged in.

#1 2011-06-01 19:42:19

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

[SOLVED] where is /dev/null ?

I need to supress "make" output in arch, in debian-based distro I used to make it via "make &> /dev/null" command, but can't find this in arch, where is /dev/null?

Last edited by tasty_minerals (2011-06-01 19:48:35)


lenovo thinkpad EDGE 13'

Offline

#2 2011-06-01 19:44:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] where is /dev/null ?

Huh?

[karol@black ~]$ ls -al /dev/null
crw-rw-rw- 1 root root 1, 3 06-01 09:59 /dev/null

Try sending stdout to stderr

[karol@black ~]$ echo bum
bum
[karol@black ~]$ echo bum 2&>1
[karol@black ~]$ 

Last edited by karol (2011-06-01 19:46:35)

Offline

#3 2011-06-01 19:46:31

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] where is /dev/null ?

ohhh, I'm looking stupid right now, am I? ohh. thank you.
it is in place, sorry, my script somehow do not work. so I thought /dev/null was absent, as I didn't carefully test it.

Last edited by tasty_minerals (2011-06-01 19:48:21)


lenovo thinkpad EDGE 13'

Offline

#4 2011-06-01 19:48:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] where is /dev/null ?

:-)

Don't forget to mark as solved by editing the first post and adding '[solved] to this thread's title.

Offline

Board footer

Powered by FluxBB