If you want to list subfolders in a directory with human-readable content size in them then you can use this command: Here –max-depth=1 indicates that we don’t want to parse the subdirectories of subdirectories that currently we are showing size for. The output will look like this: This answers the question: How to list subdirectories with size?
Month: October 2020
MYSQL: Syntax error or access violation: 1055
So upgraded mysql to new version and started seeing these warnings: PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘db.column_name’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible Method 1: We can fix it by…