16.04 - Why are media mounted under /media/<user>/ & how do I grab the <user> part? - Ask Ubuntu
why mounted media mounted under /media/<user>/
in ubuntu 16 counter how used under /media/
?
and, how can grab <user>
part if want script work in case of username change? (for example, /home/<user>
use $home
)
solution:
- first part answered here
- second part:
$user
probably can use $user
variable? if you're new in scripting have @ basic guides this
as change in path - here explanation other similar question @ askubuntu.
Comments
Post a Comment