Knowing your server’s IP address(s) can be a useful bit of information to have for various reasons. This tutorial will teach you how to check the IPs of any modern Linux server. To follow along will simply need access to the server via SSH or TTY.
(parted) print Model: ATA ST9160827AS (scsi) Disk /dev/sda: 160GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 32.3kB 41.1MB 41.1MB primary fat16 diag 2 41.9MB 15.8GB 15.7GB primary ntfs 3 15.8GB 127GB 111GB primary ext4 4 127GB 160GB 33.0GB extended 5 127GB 159GB 31.6GB logical ext4 boot 6 159GB 160GB 1387MB logical linux-swap(v1) (parted)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.