On Thu, Feb 10, 2022 at 17:47:43 +0800, Yalan Zhang wrote: > Thank you! I tried /etc/motd, and it does not impact the libvirt connection. > Happy to learn something new! Alternatively if you really need to run commands in .bashrc which can potentially print some output, you can put them after a check for interactive shell: if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi echo "Interactive shell here. How are you?" Jirka