pub fn is_home(linux: &str) -> bool
Whether linux is a distro user’s home folder: /home/<user> or /root.
linux
/home/<user>
/root