to get os version:
# cat /etc/*release*
to get os kernel version:
# cat /proc/version
to get cpu info:
# cat /proc/cpuinfo
or
# lscpu
to get ram info:
# cat /proc/meminfo
# cat /etc/*release*
to get os kernel version:
# cat /proc/version
to get cpu info:
# cat /proc/cpuinfo
or
# lscpu
to get ram info:
# cat /proc/meminfo