Friends, I have fdisk -l output in one file called test1.txt.Now I want to get the device name only using awk.How to get a device name?I want output like this:/dev/sda1/dev/sda2/dev/sda3/dev/sdb1/dev/sdc1
How to get a device details only using awk commands
linux;awk