Search Results

Search: Posts Made By: sparks
2,739
Posted By sparks
My OS is GNU/Linux What I mean is : if I am...
My OS is GNU/Linux

What I mean is : if I am doing it manually, I open a link and enter a value in a field. when the value is entered, an event is triggered in the application. The value would be...
2,739
Posted By sparks
Open a webbrowser link from shell script
Hi All

I have a task which is manually submitted from a web browser link, by entering a value. This has an xml code as well.

I am looking for options to automate the above to avoid manual...
1,505
Posted By sparks
My bad, That result was from a query which I...
My bad, That result was from a query which I executed before, but the 2nd and 3rd fields does have the quotes around it.
And to your questions $2 and $3 have four or sometimes five comma...
1,505
Posted By sparks
Replacing Multiple spaces with a single space but excluding few regular expressions
Hi All.

Attached are two files.

I ran a query and have the output as in the file with name "FILEWITHFOURRECORDS.txt (https://www.unix.com/attachment.php?attachmentid=6449&stc=1&d=1444249917)...
4,926
Posted By sparks
Thankyou so much Corona688 . I never used perl...
Thankyou so much Corona688 . I never used perl before, do you mind if you can share the sample code how it looks and how to connect and execute the query.
4,926
Posted By sparks
Connect to database through FTP server
Hi All

I need to run a query on a remote database through a shell script. I have the query, I have the script ready. I have the details of the database server I need to connect to.
Now my...
2,103
Posted By sparks
Thanks Peasant! I will check that command. I have...
Thanks Peasant! I will check that command. I have never tried that before.
2,103
Posted By sparks
Yes we do. The name would be something like...
Yes we do. The name would be something like FTUPDATE.txt. The files will be written to a directory by the job and they are not deleted.
2,103
Posted By sparks
Track activity of a user
Hi All

We have a job which writes files to a server at a particular time. The files will be created by a particular user ID

Today, during the execution of the job, it created a file to the...
4,078
Posted By sparks
hi Ram Kumar_BE, The --date is the option...
hi Ram Kumar_BE,

The --date is the option used in date command. you can substitute date +%Y-%m-%d --date "1 day ago" with date +%Y-%m-%d --date "1 year ago" or 1 month ago or 2 months based on...
Forum: Red Hat 08-17-2015
9,392
Posted By sparks
Store the subject in a variable and try to use...
Store the subject in a variable and try to use it, same with from address and to address

try this :

mail -s "$subject" -S "from=$from_addr" "$to_addr" < /dev/null
24,597
Posted By sparks
Thanks Corona688. I am using it in a job...
Thanks Corona688. I am using it in a job scheduling tool and it doesnt allow me to SFTP again.

But have noted it so that I can use it in the future. Thanks for your answers!!

Thanks RudiC
24,597
Posted By sparks
Sorry! I forgot to mention that . Yes, it is in...
Sorry! I forgot to mention that . Yes, it is in SFTP session.

Could you please give me the command to ssh the file of interest and then sftp.
24,597
Posted By sparks
It is the GET command and not mget. Here...
It is the GET command and not mget.

Here is the output

cmd: get /ProdData/Fusion/Payables/Invoices/OUT/Source/DOE*.txt /var/ftdata/TEST/DOE/FROM_Laclede
get...
24,597
Posted By sparks
"GET" command retrieves multiple files while using wildcard
Hi All

I am using GNU/Linux

This is regarding the get command to retrieve files (filename with wild card characters) from remote server.

I thought Get command can retrieve only 1 file...
3,967
Posted By sparks
ohh.. i see it!! I didnt realise that makes a...
ohh.. i see it!! I didnt realise that makes a difference, because it was printing the name right.

Thankyou so much!! It saved my day!. :)

---------- Post updated at 10:31 AM ----------...
3,967
Posted By sparks
Error while renaming the file in SFTP Session
Hi All

Below is the script I am trying to execute to rename a file in an SFTP session.

It is in GNU/Linux.

This script is for generic use and so I am passing arguments. Everything in the...
Forum: IP Networking 08-04-2015
4,527
Posted By sparks
ok. Thanks, So through each different user I...
ok. Thanks, So through each different user I connect, the corresponding public key has to be added in the authorized_keys of the remote server
Forum: IP Networking 08-04-2015
4,527
Posted By sparks
SFTP connection using two different users
Hi All

This is regarding an SFTP Password less connection.

I am logged into my local Server1 using username1.
The remote server i have to connect is "Remoteserver1" with the "useriD"...
7,316
Posted By sparks
try this ; sort on the filename(here 9 is the...
try this ; sort on the filename(here 9 is the column of the filename). It first sorts on the filename and prints the first and last lines.


ls -ltr | sort -nk9 | sed -n '1p;$p'
12,202
Posted By sparks
Hi Actually, i have a script which blocks...
Hi

Actually, i have a script which blocks an IP, which is trying to connect to a server making invalid login attempts.And these attempts are made n number of times in a single minute. This is...
12,202
Posted By sparks
Login through SFTP using username and password
Hi All,

I want to login to a server through SFTP by giving username and password, in an automated script.
I know that this can be done through public key authentication, but my requirement is to...
2,465
Posted By sparks
Please suggest me a better option than FIND command
Hi All,

Could you please help me in searching files in a better way satisfying the below conditions

I want to search files in a path whose access time is more than 5min and less than 60 min...
4,227
Posted By sparks
Thanks both of you..
Thanks both of you..
4,227
Posted By sparks
Cron Job Scheduling
Hi All,

I have a script which is scheduled in the Cron. It runs every 10th and 40th min of an hour.The job has to run every 30min.
But, I do not want to have the 00:10 MST run every day.Is it...
Showing results 1 to 25 of 60

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