Web lists-archives.com

Re: [kde-linux] Where is the KDE Trash Can? [SOLVED]

On Thu, 9 Jun 2016 22:23:41 +0200, Ralf Mardorf wrote:
>>On Thu, 09 Jun 2016 19:42 +0200, Wolfgang Mueller wrote:    
>Not necessarily for something that is mounted by a different file
>OT: FWIW "/home/$USER/" usually is referred to as "$HOME" or tilde.
>$ echo ~
>$ echo $HOME

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
[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.