Hello @snv
May I know the use of flag -H?
Hi @umarless,
When you use -H
with sudo
, it makes sure that any commands you run with sudo
use the target user’s settings and preferences, including their home directory. This is important because it helps avoid potential issues with configurations and permissions, making sure everything works smoothly for that user.
I hope this helps.
Thank You!