Search Results

Search: Posts Made By: galford
1,873
Posted By galford
Actually it works when I execute it for one host...
Actually it works when I execute it for one host per command.


[/home/virtual/mysqlt]# sh sql2 localhost
[/home/virtual/mysqlt]# ERROR 1045 (28000): Access denied for user 'root'@'localhost'...
1,873
Posted By galford
Modifying bash script to take each line in a file and execute command
I need to modify a bash script to to take each line in a file and execute command. I currently have this:

#!/bin/bash if [ -z "$1" ] ; then echo "Lipsa IP"; exit; fi i=1 ip=$1 while [ $i -le `wc...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy