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

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User