Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
In the user’s home directory, which may or may not be in /home/username.
grep username /etc/passwd will show you the home directory for a user. Also ~username from the CLI will resolve to that user’s home directory. e.g. cp file.txt ~username/Documents/
In the user’s home directory, which may or may not be in /home/username.
grep username /etc/passwd
will show you the home directory for a user. Also~username
from the CLI will resolve to that user’s home directory. e.g.cp file.txt ~username/Documents/