Table of content

Ooooops what happened

$ cat /dev/null
_zsh_highlight_highlighter_root_predicate is a shell function from....

Hm interesting, it seems like that /dev/null is not /dev/null any more.

$ ls -la /dev/null
-rw-r--r-- 1 root root 162 Aug 18 14:39 /dev/null

This looks very strange, seems like something treaed /dev/null wrongly.

Lets repair that.

Small hint on that side, don’t do it with zshell, use bash as zshell will not let you perform the change

$ mv /tmp/tmp.0eBVZ1FGLg /dev/null
$ rm -f /dev/null
$ mknod -m 0666 /dev/null c 1
$ ls -la /dev/null
crw-rw-rw- 1 root root 1, 3 Aug 18 14:46 /dev/null

\o/ all good again ;)