Search Results

Search: Posts Made By: Kochappa
1,913
Posted By Kochappa
Get data from GitHub using Curl
Dear friends,

I am working on a bash script to get data from the github by hitting the API using curl and this is quite straight forward. However the authentication mechanism we have in our github...
18,689
Posted By Kochappa
Curl to hit the submit button
Hello,

I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code

<input name="tos_accepted" id="tos_accepted"...
19,912
Posted By Kochappa
Hey, What you see when you telnet...
Hey,

What you see when you telnet remote_server_ip 22 ?
And is there any deny rules for 22 in iptables? check iptables -L

Cheers..
1,658
Posted By Kochappa
Yes, you will be seeing the progress bar and % of...
Yes, you will be seeing the progress bar and % of each file copied to the remote location. If any error happens then it must be visible on screen. For eg: if the second files does not exist it throws...
4,257
Posted By Kochappa
Query IP for reputation check
Hello,

I am looking for a script which can do the following

* Goto senderbase.org/lookup and search the IP and get the results

We can run the query directly from...
1,658
Posted By Kochappa
Hello, The below command will be sending...
Hello,

The below command will be sending files one after the other.

scp file1.log file2.log user@servername:~/upload/If you have a good list of files then just use a simple for loop

cat >...
3,103
Posted By Kochappa
Worked perfectly
Thanks Corona, your script worked like a charm.. thanks again for making this simple for me.

Thanks to everyone who replied this and was trying to help.

Cheers,
Kochappa.
3,103
Posted By Kochappa
Automate scp between servers
Hello,

Could someone please help me with the below requirement?

I need to automate scp files between two servers. I have a file having server names and paths to the folder like below

server1...
3,480
Posted By Kochappa
oh thanks to both Pratham and Kumaran awk...
oh thanks to both Pratham and Kumaran

awk '{ if(NR==int((NR/4))*4+3){printf "%s %s\n",$1, $2} }' test.txt
worked perfectly :-)

Other methods could be used, but in this case its just not the...
3,480
Posted By Kochappa
Cut third field of every third line
Hello,

I have got a log file and would need to write a script to cut the every first and second fields of every third line.

Job Name : dummytextd_v1
Status : KILLED
TIMEDOUT 2011-05-01...
Showing results 1 to 10 of 10

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