Find the answer to your Linux question:
Results 1 to 1 of 1
Hi, I'm totaly newbie in the world of bash scripting, so here goes the question... How to make this another way? free -m | awk -F" " '{print $2}' | ...
  1. #1
    Just Joined! playerum's Avatar
    Join Date
    Aug 2010
    Posts
    22

    BASIC - Another way to get the system total memory

    Hi,

    I'm totaly newbie in the world of bash scripting, so here goes the question...

    How to make this another way?
    free -m | awk -F" " '{print $2}' | head -n2 | tail -n1
    Last edited by playerum; 06-06-2011 at 06:54 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...