Search Results

Search: Posts Made By: profileuser
9,718
Posted By profileuser
Thanks Npandith, ` and ' are indeed...
Thanks Npandith,

` and ' are indeed different...

I'll get back to you shortly..

---------- Post updated at 07:40 PM ---------- Previous update was at 06:23 PM ----------

Hi Npandith...
9,718
Posted By profileuser
Hi Npandith, Thanks for the response, I...
Hi Npandith,

Thanks for the response, I don't quite understand you meant:

The syntax below is what I currently have: are you saying I should change the for to "for" ?

for updatefile in...
9,718
Posted By profileuser
Thanks guys, I have corrected the syntax...
Thanks guys,

I have corrected the syntax as shown below. There is a space AND not tab space between if and square bracket and space btw ==


if [ "$PATCHACTION" == "restartXAPI" ]
then
...
9,718
Posted By profileuser
Thanks Npandith, I'll try that now and get...
Thanks Npandith,

I'll try that now and get back to you.

---------- Post updated at 05:10 PM ---------- Previous update was at 05:00 PM ----------

Hi Npandith,

You did it,

The...
9,718
Posted By profileuser
Hi Guys, Could you please help diagnose the...
Hi Guys,

Could you please help diagnose the syntax the script below is refering:


[root@xen01 ~]# vi ./postscript.sh
[root@xen01 ~]# ./postscript.sh
-bash: ./postscript.sh: Permission...
9,718
Posted By profileuser
Thanks guys. Now I see... Normal text /...
Thanks guys. Now I see...

Normal text / words goes outside..


go goes here


Thanks for this youtube tutorial.. very informative.
9,718
Posted By profileuser
[root@xen01 tmp]# vi /var/tmp/vimv3.sh ":" "set...
[root@xen01 tmp]# vi /var/tmp/vimv3.sh ":" "set list"
3 files to edit
# Assign License to server
HOSTNAME=$192.168.10.15 echo $HOSTNAME
HOSTUUID=$(xe host-list name-label=$HOSTNAME --minimal)
xe...
9,718
Posted By profileuser
Thanks npandith, so that's press ESC full...
Thanks npandith,
so that's press ESC full colon only or in those quotes sane for set list

---------- Post updated at 04:19 PM ---------- Previous update was at 04:18 PM ----------

same'''...
9,718
Posted By profileuser
[root@xen01 ~]# sed -i 's/^M/g' /var/tmp/vimv3.sh...
[root@xen01 ~]# sed -i 's/^M/g' /var/tmp/vimv3.sh
sed: -e expression #1, char 6: unterminated `s' command
[root@xen01 ~]#

The error above was returned after running sed

The cat response is...
9,718
Posted By profileuser
Type "xsconsole" for access to the management...
Type "xsconsole" for access to the management console.
[root@xen01 ~]# dos2unix /var/tmp/vimv3.sh
-bash: dos2unix: command not found

Is there a way of installing dos2unix on the linux server...
9,718
Posted By profileuser
Hi Sea, I'm not sure exactly what you...
Hi Sea,

I'm not sure exactly what you meant, however the question marks ? means that I'm trying to understand how to interprete a script.
The exact error message is now given below:...
9,718
Posted By profileuser
Thanks Sea, I have chmod 755 the .sh from...
Thanks Sea,

I have chmod 755 the .sh from the command to give it full access permision. That worked and I was able to run the script as well and got an error exact error will be posted soon..
...
9,718
Posted By profileuser
"Help with bash script" - "License Server and Patch Updates"
Hi All,

I'm completely new to bash scripting and still learning my way through albeit vey slowly.

I need to know where to insert my server names', my ip address numbers through out the...
Showing results 1 to 13 of 13

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