In Linux, everything is a file so the path to the RAM file is /dev/mem. To dump its contents, you can use the following command as root only:
hexdump -c /dev/memand you should see something like ...
00fea90 s t a r t e d , b u t t i m
00feaa0 e m a y b e i n a c c u r
00feab0 a t e . \r \n \0 A t t e m p t i n