Search Results

Search: Posts Made By: Alexis Duarte
21,078
Posted By Alexis Duarte
Thanks!
Hi all.... sorry for this very long delay, but I went on a trip.

After acknowledging the anwser of Zaxxon, I realized that I could solve my particulary problem by writing two scripts on the two...
21,078
Posted By Alexis Duarte
SFTP in a shell script without public/private key
Hi everybody,

I need some help on writing a script that is able to remote copy file to one server. I already created this types of scripts, and works ok as long as this server I want to copy from...
4,184
Posted By Alexis Duarte
Perfect!!
Frans,
It worked perfectly! I thought that only backtick (`) should be used in this type of command build, but $(..) syntax is good also, perfect for this situation.

So Frans and Zaxxon thank you...
4,184
Posted By Alexis Duarte
No result yet.....
Hi there,
In place where? I tried (in different positions) already but it seems to ignore the $(...) syntax altogether and produce a similar error output:
./the_script: command substitution: line...
4,184
Posted By Alexis Duarte
Big mess indeed!!
Hi there zaxxon
I know it is a mess (big time!), but this is just one part of the script and I chose to use command blocks because its server me better (I think) this way, because the output format...
4,184
Posted By Alexis Duarte
Help with Script using Command Blocks
Hello,
I am trying to create a shell script that use command block (don´t really know if this is the correct way to say it), but while one version works fine, the other one is not working at all....
8,502
Posted By Alexis Duarte
Hi there, Thanks for the answers provided, and...
Hi there,
Thanks for the answers provided, and it did helped me with the first question, so thanks Scrutinizer and Steadyonabix.
But for the second part of my questions, the stable sort option is...
35,085
Posted By Alexis Duarte
Another way is to write a script: #server 1:...
Another way is to write a script:

#server 1:
ftp -n xx.xx.xx.xx << EOF1
user user_name password
cd /path
ascii
prompt off
get abc.txt
EOF1
server 2:
ftp -n xx.xx.xx.xx << EOF2
user...
8,502
Posted By Alexis Duarte
Sorting file by a field, and then by another field.
Hi all,
Sorry the title is a mess, but did not find a better description at the time.
So here is my problem:
I have an input file:
8:Mass40s -- 0
48:Mass40s -- 0
67:Mass40s -- ...
3,341
Posted By Alexis Duarte
Giving existing user access on ftp
Hi all,
I have a project on going that combines two different departments. I cannot give detais on this project, I´m sure everybody understands that, but I would like your help on giving me pointers...
2,711
Posted By Alexis Duarte
Thanks
Mr. Franklin
I thank you for you for you time an pacience to show me these codes.
It work exactly like I wanted.
This part of the code that was making me confusion:...
2,711
Posted By Alexis Duarte
Check please
Hi there,
I´m not sure I understand exactly what you need, but let me give you exactly what I want:
This is my input file:
20421910011240720090525233138000020000000000A000000050298032Boavista ...
2,711
Posted By Alexis Duarte
Corrected the post. Can you check the post again...
Corrected the post. Can you check the post again please.
Thanks you
2,711
Posted By Alexis Duarte
Thanks Franklin for the solution, but while this...
Thanks Franklin for the solution, but while this brings me closer to solving everything to me, there are still some lose ends.
This code you provided me with, only applies to the first line, and it...
6,712
Posted By Alexis Duarte
What I use:
In my case I use:
kill -9 `ps -ef |grep 'argument/unique/in/the/process/Iwanna/kill' |grep -v 'grep' |awk '{print$2}'`

Where first it gets the process (grep 'blablabla'), then it filter this...
2,711
Posted By Alexis Duarte
Help with Creation of Script to Input Separators in Data
Hi all,
I have one problem that is preparing datas so I can run a script to extrat informations for my statistic reports.
I receive some datas, that are informations mixed and I need to separate...
243,999
Posted By Alexis Duarte
You are right
I assumed it was a constant length lines file. In this case you solution is the best one. Thanks for the headsup.

Best Regards
243,999
Posted By Alexis Duarte
diferent and simple solucion
This is not a sed command, but it works also. Try it.

cut -c1-6 file_name |cut -c3-6

This will remove the first 2 and last 2 characters of the datas in the file

Best Regards
Showing results 1 to 18 of 18

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