# Shell Script

**URL:** <https://community.unix.com/t/shell-script/170260>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [April 3, 2007, 4:20am UTC](https://community.unix.com/t/shell-script/170260 "2007-04-03T04:20:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tt1ect](https://community.unix.com/letter_avatar/tt1ect/32/6_449c533f586939b6e5f246632a46421f.png) [@tt1ect](https://community.unix.com/u/tt1ect)\
**Post date:** [April 3, 2007, 4:20am UTC](https://community.unix.com/t/shell-script/170260/1 "2007-04-03T04:20:11Z")

</div>

Pls guys, what command do i use to dispaly the Disk size and Ram Size my system?

thanks

---

<div class="post-metadata">

**Author:** ![sayonm](https://community.unix.com/letter_avatar/sayonm/32/6_449c533f586939b6e5f246632a46421f.png) [@sayonm](https://community.unix.com/u/sayonm)\
**Post date:** [April 3, 2007, 8:26am UTC](https://community.unix.com/t/shell-script/170260/2 "2007-04-03T08:26:56Z")

</div>

free -m -\> RAM SIZE  
df -h -\> Size of every partition and free space can also be seen...just add the total size of all partitions

---

<div class="post-metadata">

**Author:** ![jim\_mcnamara](https://community.unix.com/letter_avatar/jim_mcnamara/32/6_449c533f586939b6e5f246632a46421f.png) [@jim\_mcnamara](https://community.unix.com/u/jim_mcnamara)\
**Post date:** [April 3, 2007, 10:19am UTC](https://community.unix.com/t/shell-script/170260/3 "2007-04-03T10:19:35Z")

</div>

Those commands are fine for Linux - if you are on a different system, please let us know because the command for memory information will probably change
