Search Results

Search: Posts Made By: tdubb123
821
Posted By tdubb123
I tried running it and even though esxcli...
I tried running it and even though

esxcli software vib list | grep -ic net-mst -eq 1

It says

Software not found"

any idea?

---------- Post updated at 03:58 PM ---------- Previous...
821
Posted By tdubb123
very nice. yes esxcli software vib list |...
very nice.

yes esxcli software vib list | grep -ic net-mst

does give an output of 1 when available

---------- Post updated at 07:07 AM ---------- Previous update was at 07:06 AM ----------...
821
Posted By tdubb123
Need a if else check startement
need to remove some software on esx server if available

like this

if (esxcli software vib list | grep -i net-mst) is available

then

remove

esxcli software vib remove -n net-mst

done...
2,904
Posted By tdubb123
sed add line to config file
what is the sed command line to add a line to a config file

config file name is "config"

line to be added

cpuid.7.edx = "----:00--:----:----:----:----:----:----"


thanks
2,232
Posted By tdubb123
esxi
does esxi support running & jobs in the bg?
2,232
Posted By tdubb123
can you explain? what is wait for? ...
can you explain? what is wait for?

---------- Post updated at 09:18 AM ---------- Previous update was at 09:15 AM ----------

is this going to run all 30 lines at once?

esxcli storage vmfs...
2,232
Posted By tdubb123
Script to read file and run multiple jobs
I have a txt file

line1
line2
line3

$!/bin/sh
cat /tmp/lus.txt | while read line
do
esxcli storage vmfs unmap -u $lin -n 4000
done

this works but does in one line at a time.

how do...
5,755
Posted By tdubb123
Run a script on multiple servers
I need to run a script on a bunch of remote servers. how can this be done without ssh into each individual server and run it

its under /sbin/script.sh on each server
2,738
Posted By tdubb123
it will be file1 line1 to file2 line1 ...
it will be file1 line1 to file2 line1


while loop or for loop?

I dont know how to approach it
2,738
Posted By tdubb123
Double forloop?
how do I do a double forloop or any other loops like this

reads txt file a
read first line

read txt file b
read first line

then run command

lun map $line1_from_txtA $line1_from_txtB
...
1,869
Posted By tdubb123
Install vib on 200 esxi hosts
how do I remote install a vib on 200 esxi hosts ?

I need to ssh into the host

run this command

esxcli software vib install -v /tmp/vib --no-sig-check
5,618
Posted By tdubb123
Expect script ssh passwordless login
how can i use an expect script to do a passwordless ssh login and run a script on a bunch of remote hosts? I do not want to use public key authentication as this would require me to setup the keys on...
6,514
Posted By tdubb123
Read csv file in bash
how to I use IFS to read 2 files (csv) and run the followiung script


./naviseccli -h 1.2.3.4 storagegroup -addhlu -gname $hostname -hlu $hlu_num -alu $alu_num


the csv file for $hostname is...
Showing results 1 to 13 of 13

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