If I am trying to look up which host bus is the hard drive attached to, I would use

```
ls -ld /sys/block/sd*/device

```

it returns 

```
lrwxrwxrwx 1 root root 0 Oct 18 14:52 /sys/block/sda/device -> ../../../1:0:0:0

```

Now if I want to parse out that "1" in the end of the above string, what would be the quickest way?

Sorry I am very new to shell scripting, I can't make full use of this powerful scripting language.

Thanks!