• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

devices

Nmap

March 19, 2020

Here’s how to list all the devices on your network using nmap.

nmap -sn 192.168.0.0/24

nmap -sn 192.168.0.0/24

If nmap is not installed, install it.

yum install nmap
apt install nmap

yum install nmap apt install nmap

Filed Under: Linux Tagged With: devices, install, network, nmap

Print Block Device Attributes

March 5, 2019

Everything you need to know about block devices, e.g. UUID

blkid
# or
blkid /dev/xvda

blkid # or blkid /dev/xvda

You can also run file -s. You need to be root.

file -s /dev/xvda1

file -s /dev/xvda1

Filed Under: Linux Tagged With: block, devices, uuid, volumes

  • Home
  • About
  • Archives

Copyright © 2023