scripts/fiber_channel/wwn2sdx

4 lines
165 B
Plaintext
Raw Normal View History

#!/bin/bash
/bin/ls -l /dev/disk/by-path | /bin/sed 's/ -> \.\.\/\.\.\// /' | /bin/grep "0x220a000a33" | /bin/egrep -v "\-part[0-9]" | /usr/bin/cut -c "60-78,85-";