Hands-on task
How much memory the server has
The developers want to run a new app on the server and ask how much RAM it has.
Find out how much memory the server has in total, and write a single whole number to /root/mem.txt — the amount in megabytes, without units. For example, if there are 2 gigabytes of memory, the file should contain 2048.
- free
- RAM
- swap
- available