Closed athaks closed 4 years ago
Eliminates below error message: username hostname ~ $ sudo su - [sudo] password for username: Last login: Fri Feb 28 10:12:55 EET 2020 on tty1 which: no cmd.exe in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin) root hostname ~ #
Thank you for the contribution
Redirected stderr to stdout (/dev/null) when which command tries to locate cmd.exe in /etc/profile.d/00-remix.sh """su -""" produced """which: no cmd.exe in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)""" every time