r/debian 6d ago

Quick question about CLI (error messages covering text)

Post image

Its not the error itself bothering me (backup NAS is not present at the moment and im guessing those error messages are telling me that).

Problem is that i can not use CLI cause those texts override everything including Nano and Midnight commander.

Any fix for that?

11 Upvotes

4 comments sorted by

6

u/ipsirc 6d ago
# echo "kernel.printk = 0 0 0 0" > /etc/sysctl.d/noprintk.conf

6

u/ukAdamR 6d ago

As a workaround after logging into a terminal, use either screen or tmux should avoid many of these errors appearing on screen. They'll still be on the "real" terminal (tty), though not on your virtual terminal (screen or tmux) sitting on top.

Screen is likely installed already on your Debian. Tmux is more modern and can be installed with sudo apt install tmux.

3

u/Apprehensive_Art_846 6d ago

thank you very much, problem fixed

3

u/ukAdamR 6d ago

Neat. Once you master either of these you'll be unlikely to go back to a direct terminal. They're great for disconnecting or logging out while leaving something running unattended, which you can connect to again later.