Is there, in linux variables, or some other means to find per/system paths, similar to windows path variables, like %AppData%, %UserProfile%, %AllUsersProfile%, %ProgramFiles%, %SystemRoot%, %SystemDrive%, %Temp%, %Tmp%, etc.?
Update:
OK, I've found out, that:
home, you can find from: "env|egrep '^HOME$'"
various user folders from command: xdg-user-dir
various system folders are from: "env|egrep '^XDG-'"
It works fine on my Ubuntu 16.04, but when I try to do it on Ubuntu 14.04, it only has xdg-user-dir and "env|egrep '^HOME$'", but "env|egrep '^XDG-'" doesn't have any path results.
Any suggestions?