Search Results

Search: Posts Made By: rubionis
1,302
Posted By rubionis
FILE="/home/transfer/${ACCOUNTINPUT}_sendscript.sh...
FILE="/home/transfer/${ACCOUNTINPUT}_sendscript.sh"
8,800
Posted By rubionis
I see your situation now..., not the perfect...
I see your situation now..., not the perfect solution, but this might get you going:

sed 's: airplane : helicopter :g' filename

# does not handle the case when line starts or ends with...
8,800
Posted By rubionis
try this ... sed...
try this ...

sed 's:\<airplane\>:helicopter:g' filename
30,153
Posted By rubionis
A quick way would be using an infinite loop ... ...
A quick way would be using an infinite loop ...

#!/bin/bash

while :

do

igal -a -r -U -w 6

sleep 30

done
15,737
Posted By rubionis
There are two problems with the code, 1- as...
There are two problems with the code,

1- as Perderabo pointed out you need a numerical sort,
2- you need to decide how many significant integers you need after the decimal point. This will be...
2,190
Posted By rubionis
Check this ......
Check this ... https://www.unix.com/shell-programming-scripting/103619-cannot-replace-null-space.html
18,690
Posted By rubionis
My OS does not have -H option, try whatever is...
My OS does not have -H option, try whatever is best for you,


find builds -name '*ReleaseNotes*' | xargs grep -il xml |
while read file
do
echo "$file"
grep -i...
18,690
Posted By rubionis
find builds -name '*ReleaseNotes*' | xargs grep...
find builds -name '*ReleaseNotes*' | xargs grep -il xml
11,001
Posted By rubionis
xterm -hold -e " command_list " xterm -e "...
xterm -hold -e " command_list "

xterm -e " command_list ; bash "
Forum: Solaris 12-30-2007
16,886
Posted By rubionis
The below code can be run as a whole script. Run...
The below code can be run as a whole script. Run it from an appropriate directory, for example /home/username.


# In the beginning it's good to create a temp directory temp_dir that will contain...
Forum: Solaris 12-28-2007
16,886
Posted By rubionis
Hi The previous time you posted about the...
Hi

The previous time you posted about the similar script I had a hard time understanding your request, so please include all the necessary details in your request. For example what are you going...
Forum: Solaris 11-27-2007
29,481
Posted By rubionis
Simple, copy your script to a different dir: ...
Simple, copy your script to a different dir:


cp -p gunzip_script /home/thousand/other_dir/

then slightly modify your script adding cd to gzipfiles directory, and executing the script now...
Forum: Solaris 11-27-2007
29,481
Posted By rubionis
What does prevent you moving first the unzipped...
What does prevent you moving first the unzipped and other files out from /home/thousand/gzipfiles/ to a different directory /home/thousand/temp_dir/ , and then continuing unzipping the left-overs...
29,561
Posted By rubionis
Thanks everybody for your valuable inputs . ...
Thanks everybody for your valuable inputs .


Yes, that explains everything. SSH session is non interactive, so I can't expect a TEST condition to work within that ssh session.


Nope !

And...
29,561
Posted By rubionis
Thanks gus2000, The separator \EOF did the...
Thanks gus2000,

The separator \EOF did the trick regarding all the variables in the SSH script. Another useful info to keep in mind !
( I know, I have to be careful with the variables, BTW I'm...
29,561
Posted By rubionis
Yes, I forgot to say I have #!/bin/bash at the...
Yes, I forgot to say I have #!/bin/bash at the head of the script.

And I actually don't have back tick in the script, ( Yes I'm aware of special characters conflicts in a script), I just put a`s...
29,561
Posted By rubionis
IF condition failing in a SSH script
Hi,

I'm ssh-in to a remote machine (ubuntu) and trying to execute a little script in there.The script looks like this:


ssh user@ubuntu <<EOF
cd ~/test
ls -l
echo "Continue counting files...
3,164
Posted By rubionis
Are you sure you used the correct syntax, maybe a...
Are you sure you used the correct syntax, maybe a typo?

I got no problem using scp for multiple files, for example if you're in server A, in the directory where you're going to copy the files from...
Showing results 1 to 18 of 18

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