10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Experts ,
I have an use case which needed your help . I have been using google for 2 days buy couldn`t succed , i believe i can get the help here.
Here is my use case to run on bash shell
1. Access an URL -- in script , it will be mentioned as inputURL
2. Once i accessed the URL... (1 Reply)
Discussion started by: radha254
2. Shell Programming and Scripting
I have pick up a script from internet to track errors from curl command.
curl_setopt($MY_VAR, CURLOPT_HEADER, 1);
curl_setopt($MY_VAR, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($MY_VAR,... (2 Replies)
Discussion started by: jcdole
3. Shell Programming and Scripting
On RHEL5 from within both a shell (sh->bash) and a csh script curl fails with a "curl: (6) Couldn't resolve host 'application'" error.
This is the result whether run as a command at the shell and/or c-shell prompt and curl also fails with the same error when the scripts are "source'd" at the... (5 Replies)
Discussion started by: GSalisbury
4. Red Hat
In the archives I found this:
And this works fine.
But what I want is to reverse this. So I want that tab does reverse menu completion and shift tab does normal menu completion.
Can anyone help me with this? Thanks (0 Replies)
Discussion started by: ozkanb
5. Shell Programming and Scripting
In my bash script I want to say "if argument 2 is anything except x, y or z, than echo this" (x y and z being words).
So my script looks like this:
echo "unrecognized input: $2"
This usually works but than I also want to say "if argument 2 IS x, y, or z, but argument 4 is... (4 Replies)
Discussion started by: Jrodicon
6. Shell Programming and Scripting
I want to write a shell script to make sure all the instruction is executive in flow.
I want my shell script to run finish this two progress first:
./program input_file_1.txt > input_file_1.txt.out &
./program input_file_2.txt > input_file_2.txt.out &
After then, only run the... (1 Reply)
Discussion started by: edge_diners
7. Shell Programming and Scripting
can anyone please help me with this?
i know paypal is a secure site, so a code like the below would be needed. but that's where i get stuck.
curl -s -K https://www.paypal.com
I need to be able to curl to paypal and download a list of latest purchases. i know there HAS to be a way to do... (0 Replies)
Discussion started by: SkySmart
8. Shell Programming and Scripting
I'm running a curl command in bash, but the & in the middle causes the second half of the line to run in the background, here's what I'm trying to do:
curl -s "$url"
I tried escaping the & with \&,... (4 Replies)
Discussion started by: unclecameron
9. Shell Programming and Scripting
I have an alias already in my .bash_profile to download files using cUrl's -o (output to file, user provides the file name) option. I find I'm using it quite a bit, so I wanted to write a script to run "curl -o", taking the necessary inputs - file name and URL from which to download - and then... (3 Replies)
Discussion started by: SilversleevesX
10. UNIX for Dummies Questions & Answers
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
This allows... (0 Replies)
Discussion started by: Mithu