On Thu, 9 Jun 2016 22:23:41 +0200, Ralf Mardorf wrote: >>On Thu, 09 Jun 2016 19:42 +0200, Wolfgang Mueller wrote: >>>/home/$USER/.local/share/Trash/files > >Not necessarily for something that is mounted by a different file >system. > >Regards, >Ralf > >OT: FWIW "/home/$USER/" usually is referred to as "$HOME" or tilde. > >$ echo ~ >/home/weremouse >$ echo $HOME >/home/weremouse
PS: The $USER variable is tricky and the result is not equal for all Linux distros, while $HOME doesn't come with this issue. [rocketmouse@archlinux ~]$ sudo echo $UID $USER $HOME ~ 1000 rocketmouse /home/rocketmouse /home/rocketmouse [rocketmouse@archlinux ~]$ sudo -i [root@archlinux ~]# echo $UID $USER $HOME ~ 0 root /root /root [root@archlinux ~]# logout [rocketmouse@archlinux ~]$ su Password: [root@archlinux rocketmouse]# echo $UID $USER $HOME ~ 0 rocketmouse /root /root ___________________________________________________ This message is from the kde-linux mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-linux. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.