transport endpoint is not connected & if statement
Hi, my hdd sometimes disconnects from the nas by itself, that doesnt bother me. What I want is to write a script to test it:
Code:
# ls /usb/sdb1/ Code:
output=$(ls /usb/sdb1/) Thanks, Ted |
Thanks, I found out how:
Code:
output="$(ls "/usb/sdb1/" 2>&1)" |
All times are GMT -5. The time now is 06:08 PM. |