Answers for "get the size of a file command"

2

how to get the size of a file in linux

du -sh filename # gives size of filename
Posted by: Guest on March-12-2022
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

Code answers related to "get the size of a file command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language