Answers for "linux terminal find file by size"

3

terminal get size of file

ls -l filename   #Displays Size of the specified file
ls -l *          #Displays Size of All the files in the current directory
ls -al *         #Displays Size of All the files including hidden files in the current directory
ls -al dir/      #Displays Size of All the files including hidden files in the 'dir' directory
Posted by: Guest on March-07-2020
0

linux command line search file by size

b: 512-byte blocks (default)
    c: bytes
    w: two-byte words
    k: Kilobytes
    M: Megabytes
    G: Gigabytes
find /tmp -type f -size 1024c
Posted by: Guest on July-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language