10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have data that can look like this:
echo "Master_Item_Service_is_down=0_njava_lang_NoClassDefFoundError=0_njava_lang_OutOfMemoryError=1_nemxCommonAppInitialization__Error_while_initializing=0_nINFO__Stopping_Coyote_HTTP_1_1_on_http_8080=7_nThe_file_or_directory_is_corrupted_and_unreadable=0_n" ... (7 Replies)
Discussion started by: SkySmart
7 Replies
2. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
3. Shell Programming and Scripting
i use curl and wget quite often.
i set up alarms on their output. for instance, i would run a "wget" on a url and then search for certain strings within the output given by the "wget".
the problem is, i cant get the entire output or response of my wget/curl command to show up correctly in... (3 Replies)
Discussion started by: SkySmart
3 Replies
4. Shell Programming and Scripting
Hi,
I have a list of urls in my input.txt file like this
input.txt
http://unix.com/index.html?acc=OSR765454&file=filename1.gz
http://unix.com/index.html?acc=OBR765454&file=filename111.gz
http://unix.com/index.html?acc=ORS765454&file=filename1111.gz... (12 Replies)
Discussion started by: jacobs.smith
12 Replies
5. Shell Programming and Scripting
Need a script to print a set of characters in different combination. What's the key to accomplish this.
e.g charset: "Abcdefghij1" without quotes.
block 1: "Abcd"
block 2: "efg"
block 3: "hij1"
I need this script to change the order of the characters and print it to stdout
e.g
print out... (3 Replies)
Discussion started by: zaonline
3 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to write a script to download RedHat's errata digest.
It comes in a txt.gz format, and i can get it easily with firefox.
HOWEVER: output is VERY strange when donwloading it in a script. It seems I'm getting a file of the same size - but partially text and partly binary! It... (5 Replies)
Discussion started by: jstilby
5 Replies
7. Shell Programming and Scripting
hi
I am trying to make my own commands in my linux.I thought a command for changing directories will be easy.
I made a simple file amd made the entries
#!/bin/bash
cd /opt/mydir
I then made the file executable and then moved it to /usr/bin.
But when i type the script name nothing... (2 Replies)
Discussion started by: born
2 Replies
8. Red Hat
I have a file, ENV.doc somewhere in my home directory. I want to know where the file is located in my sub directories using FIND. But, I want to display only the relative path along with the file name.
Thanks, (6 Replies)
Discussion started by: ashok.g
6 Replies
9. HP-UX
Hi,
I am doing some testing with creation of depots on HP-UX systems (11.11).
Want to display some echo statements based on the processing during checkinstall, pre & postinstall scripts on the terminal.
The echo statements are getting directed to /var/adm/sw/swagent.log
I want to display... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies
10. UNIX for Dummies Questions & Answers
Hello there,
İ want to ask a very simple question. I want to read the output messages of wget both in terminal and also put them into a text file.
i know that by using -o flag, i can log the messages into a text file but then i won't be able to see them on terminal.
I'd appreciate any help... (1 Reply)
Discussion started by: sertansenturk
1 Replies