Skip to content

GEEKDECODER

Linux, Windows, Software Tips, Articles and Hacks

  • Services
  • Support
  • Contact
  • About
  • Crypto Quotes

Search for Articles

Search for:

Featured Articles

  • No Pub Key Mysql on Apt update Debian 11
  • How to Remove You do not have a valid subscription for this server on Proxmox version 7.1-8
  • How to Switch Desktop Environments in Ubuntu/Debian From the Command Line
  • NetworkManager
  • Install and Configure fail2ban on Debian 11
  • ApacheSolr vulnerability CVE-2021-44228 for Log4j
  • Install Proxmox VE on Debian 11 Bullseye 3 Node Cluster with Ceph
  • Display Linux logo with hardware Info using screenfetch
  • Install and Setup ClamAV on Debian 11
  • Remove Nginx

Categories

How do I have “ls” show file sizes in megabytes

November 28, 2014 The Geek Decoder Leave a comment Administration

ls -l –block-size=M will give you a long format listing (needed to actually see the file size) and round file sizes up to the nearest MiB.

or

ls -lh human readable file sizes, long format

Post navigation

← How To Install CSF (Config Server Firewall) for WHM
Check the Processor in CentOS →

Copyright 2021 Geekdecoder, LLC. All Rights Reserved.