Linux Consultant
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
  • Home
  • About
  • Contact
  • Login
  • Profile
  • Privacy Policy
June 20, 2018 | by Scott Kilroy | No comments

Print the total bytes of files in a directory grouped by date

ls -l|awk 'length($6)==3{x[$6" "$7]+=$5};END{for(i in x)printf"%s:\t%d\n",i,x[i]}'

no related pages

bashfile system

Search

Recent Posts

  • The third major Linux kernel flaw in two weeks has been found – thanks to AI
  • This 4TB WD Black SSD is 65% off at Best Buy – a rare deal
  • The best microSD cards of 2026: Expert tested and reviewed
  • The best secure browsers for privacy in 2026: Expert tested
  • 10 Google Maps settings I immediately change on every new phone – and why
  • 6 Open Source Tools to Monitor MySQL Performance in Linux
  • I’m following the 60-60 rule for headphone listening, and my future self will thank me for it
  • You may qualify for Amazon Prime at 50% off without even knowing – here’s how
  • American Airlines has new portable battery rules – here’s what travelers should know
  • I’m backing up my Samsung Messages now – here are 2 free ways to do it

Tags

AI AlmaLinux app Apps App Updates aws beginner's guide blog C++ Debian 11 Debian 12 desktop environment Developer Discord distro distros docker Firefox FOSS free software git GNU/Linux Howtos HTML install instructions Java JavaScript kde KDE Plasma LF Platinum Member Content Linux distribution Linux tutorial new release News Raspberry Pi release RHEL Rocky Linux security The Linux Foundation tutorial Tutorials ubuntu 22.04 Ubuntu 22.04 LTS windows os
Copyright © 2023 Linux Consultant