Find top/largest files and directories on a Linux server 1

Find top/largest files and directories on a Linux server

To find the largest files and directories on a linux server, type the command bellow… and grab a cup of coffee afterwards. Change head -n $top_num to your liking to get the top x files and/or directories.

 

Find files or directories owned by user/group and permission bits 2

Find files or directories owned by user/group and permission bits

Find files or directories owned by user/group and permission bits   Find all files not owned by user

  Find all files not owned by group

Find all files that don’t have specific permissions

  Examples: Find all files that don’t have 755 permissions

Combine all parameters: Find all python files […]

exif data

Delete your personal info from your photos with Exif tool

When you create an image, take a screenshot, take a picture with your smartphone or your computer etc, that picture is tagged with some metadata which can be used to track your location or your identity. In which file types are these metadata applied? Image files (scanned documents too), audio files. What info are embeded in photos? […]