Linux commands for viewing system information
Linux commands for viewing system information
- root@ddos:~# cat /proc/cpuinfo
- root@ddos:~# cat /proc/meminfo
- root@ddos:~# more /proc/cpuinfo | grep “model name”
- getconf LONG_BIT
root@ddos:~# getconf LONG_BIT
64
- root@ddos:~# free -m
root@ddos:~# free -m
total used free shared buff/cache available
Mem: 15668 1956 11546 1054 2165 12354
Swap: 0 0 0 - root@ddos:~# more /proc/version
root@ddos:~# more /proc/version
Linux version 4.7.0-kali1-amd64 (devel@kali.org) (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.7.8-1kali1 (2016-10-24) - root@ddos:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 7.7G 0 7.7G 0% /dev
tmpfs 1.6G 9.7M 1.6G 1% /run
/dev/sda3 35G 11G 23G 31% /
tmpfs 7.7G 140M 7.6G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 7.7G 0 7.7G 0% /sys/fs/cgroup
tmpfs 1.6G 16K 1.6G 1% /run/user/132
tmpfs 1.6G 40K 1.6G 1% /run/user/0
/dev/mmcblk0p5 3.7G 58M 3.7G 2% /media/root/ddos