Skip to content

3.User

User Info

id
whoami
users
groups

User history

cat /home/<user>/.bash_history

Find file owned by user

find <directory-location> -user <username> -name <file-name>

Find file owned by a group

find <directory-location> -group <group-name> -name <file-name>

Find file owned by a group (executable)

find <directory-location> -executable -group <group-name>