Update¶
#!/bin/bash scp -o StrictHostKeyChecking=no 192.168.10.36:~/lib64nerv36.so . readarray -d $'\n' array < <(sudo find / -name lib64nerv36.so 2>/dev/null ) for i in "${array[@]}" do # sudo rm -vf "${i}" sudo cp -v ~/lib64nerv36.so "${i/$'\n'/}" done ifconfig | grep "192.168.10"