一、查看系统版本
lsb_release -a
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
二、查看系统所有信息
uname -a
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux
三、查看系统位数
getconf LONG_BIT
pi@raspberrypi:~ $ getconf LONG_BIT
32
查看gcc版本: