Search Results

Search: Posts Made By: jnojr
2,609
Posted By Corona688
That is likely a bug in your script. Show it,...
That is likely a bug in your script. Show it, please.

unset $PASSWORD is wrong. unset PASSWORD is what you want, I think.
1,603
Posted By Chubler_XL
How about this: #!/bin/bash read -sp...
How about this:

#!/bin/bash

read -sp "Remote passwd: " PASS

for host in macbook tleepermacbook
do
ssh -tt $host sudo grep CMABuildNumber /etc/cma.conf << EOF
$PASS
EOF
done
7,489
Posted By rdrtx1
try also: awk ' BEGIN {c[3]=13; c[4]="*";...
try also:
awk '
BEGIN {c[3]=13; c[4]="*"; c[5]="$W1"}
$0 ~ /^\// {
l=$0; o="";
for (i=1; i<=NF; i++) {
w=l; sub("[ \t].*", "", w);
o=o (c[i] ? c[i] : w);
sub("^[ \t]*",...
Showing results 1 to 3 of 3

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