Search Results

Search: Posts Made By: temp_user
1,714
Posted By temp_user
Hi, Thanks for your help. I will go through...
Hi,

Thanks for your help. I will go through the pdf and update the findings.. :)
1,714
Posted By temp_user
NFM allows full system access
Hi,

I am using NFM in my project and i need to specify argument to it so that when the connection is made, it only makes to a specific directory. Is there any way to do the same?

Thanks...
3,457
Posted By temp_user
By special i mean all characters except 0-9, A-Z...
By special i mean all characters except 0-9, A-Z and a-z.
3,457
Posted By temp_user
Replace special characters with backslash and character
Hi,

I have a string wherein i need to replace special characters with backslash and that character.
Ex:
If my string is a=qwerty123@!,
then the new string should be a_new=qwerty123\@\!\,
...
Forum: HP-UX 05-23-2014
6,024
Posted By temp_user
try df -kh
try df -kh
2,758
Posted By temp_user
change for loop as below: for i in {1..5}
change for loop as below:

for i in {1..5}
1,577
Posted By temp_user
Use this sed -i.$now...
Use this


sed -i.$now "s/http.*.myservice.*.war/\$1/" tempfile.xml
3,334
Posted By temp_user
scp script getting timed out with expect
Hi,

I have an expect script where in i am trying to scp a folder but it is getting timed out. Any help will be appreciated. (I don't have the option for sharing keys)


expect -c 2> /dev/null "...
4,381
Posted By temp_user
Hi Omkar, U can try the below thing. Its a...
Hi Omkar,

U can try the below thing. Its a very quick thing which i have done. The output u will get with these commands is also below

a=`fdisk -l | awk 'NR==2 {print $1 " " $2} NR==3 {print $3...
774
Posted By temp_user
If i understand correctly, you want to list all...
If i understand correctly, you want to list all files ending with .sh extension.
You can do the below step:

ls *.sh
9,613
Posted By temp_user
@senthil.ak...
@senthil.ak (https://www.unix.com/members/302064558.html)

yes that is the correct way..
9,613
Posted By temp_user
You can use expect command to login to the server...
You can use expect command to login to the server

VAR=$(expect -c 2> /dev/null "
spawn ssh -n -T -o StrictHostKeyChecking=no $user@$host
expect \"*?assword:*\"
send -- \"$passwd\r\"...
1,273
Posted By temp_user
I tried ur command with slight modification: ...
I tried ur command with slight modification:

Chk_Etl_Status=`cat /dstage/questnet/qnetdv/input/Etl_Status.dat | cut -d"," -f1`
echo Chk_Etl_Status=$Chk_Etl_Status

Just added space after file...
12,619
Posted By temp_user
@Corona688...
@Corona688 (https://www.unix.com/members/43551.html) I understand the point you are making, but then as of now, this has to be implemented like this only. After some time, they will move to key...
12,619
Posted By temp_user
I was able to solve the issue.Please find below...
I was able to solve the issue.Please find below the code


#/bin/bash

ip_addr=10.10.10.10.
user=root
passwd=Help
filename=test_backup.sh
path=/root/


VAR=$(expect -c "
...
12,619
Posted By temp_user
Thank you linuxpenguin, but i need to do it via...
Thank you linuxpenguin, but i need to do it via expect only, as my task does not allow key sharing.So i have to send the password via expect only.
12,619
Posted By temp_user
Unable to check if file exists on remote server using expect
Hi,

I need to check if a file exists on remote server using expect.


#!/bin/bash
ip_addr=10.10.10.10
user=root
passwd=Help
filename=/root/test
expect -c "
spawn ssh -n -T -o...
783
Posted By temp_user
Thank you prav_chidugulla, i was able to solve...
Thank you prav_chidugulla, i was able to solve the issue.
Thank you Scrutinizer, although i didnot try your way, but thanks for your time..
783
Posted By temp_user
Shell script inside shell script
Hi,

I am trying to create a shell script b.sh inside a shell script a.sh.
Now, i need to execute the command inside b.sh on another server and pick the values of that server. But i am unable to...
2,674
Posted By temp_user
try this way: echo 12#abcd\!\@ | tr -cd 'a-zA-Z'
try this way:
echo 12#abcd\!\@ | tr -cd 'a-zA-Z'
2,859
Posted By temp_user
I was able to solve the issue. The problem was...
I was able to solve the issue. The problem was present in the way shc was installed. It was installed by someone else and i re-installed (ie make file) and it worked fine.
Thank you all for your...
2,859
Posted By temp_user
@Corona688: I have already written that part...
@Corona688: I have already written that part where the executable is created. Which code are you referring to now?
@Akshay Hegde: Let me try this option as well. Will let you know.
2,859
Posted By temp_user
Issue when executing shc command
Hi All,

I am trying to create an executable using shc. I have a script which is creating 10 executables. The executables being created have the below issue.

The message "Please contact your...
Showing results 1 to 23 of 23

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