informatics:linux
Linux & misc. POSIX
Get info on the distro:
System information: uname
Network hostname: uname -n
, Kernel release: -r
Machine hardware name: -m
, All info: -a
CPU info: lscpu
(adaptable to show PCI info, etc.)
Storage devices (aka “block devices”): lsblk
, all: -a
.
What is my OS?: lsb_release -a
32-bit or 64-bit of operating system? getconf LONG_BIT
Disk Free: df -T
shows available filesystem types, df -BG
shows available space
32-bit or 64-bit of ext4?
tune2fs -l /dev/mapper/data-data | grep 'Filesystem features'
Example output of 64-bit:
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
informatics/linux.txt · Last modified: 2022/03/29 08:51 by 127.0.0.1