DEVOPSRUN
ASK
Guest
How to check the memory size of a folder in Linux
To check the size of a folder (or it is called directory in Linux) in the Linux command line, the du command can be used .
Code:
du -sh MyFolder
Realtime example
Code:
[admin@devopsrun1 ~]$ du -sh test
768M test
_Jerry_
07-23-2020, 08:43 PM
How to check if file exists in Linux command line
08-25-2020, 03:09 PM
Docker: Got permission denied while trying to connect to the Docker daemon socket at
08-25-2020, 02:34 PM
How to install Docker in Ubuntu 20.04 Desktop/Laptop
08-25-2020, 01:49 PM
How to check TXT record using nslookup in linux commandline
08-25-2020, 05:38 AM
How to check MX record using nslookup in linux commandline
08-25-2020, 05:33 AM
docker error response from daemon mounts denied the path /etc/localtime
08-11-2020, 02:34 AM
Git failed with a fatal error. authentication failed for https //bitbucket
08-09-2020, 08:32 PM
How to switch between tabs in MobaXterm terminal tool
08-06-2020, 08:49 PM
MobaXterm persistent home directory not working, How to fix it?
08-05-2020, 06:15 AM
Bash script check if file exists on remote server
08-04-2020, 01:53 AM
Who is online: