10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts
I need your help to optimize my script to execute better as I have nearly 1M records & the script is taking close to 40 minutes to execute, so would need support on a faster alternative.
Input: file
{"house":"1024","zip":"2345","city":"asd","country":"zzv"}... (2 Replies)
Discussion started by: nk1984
2 Replies
2. UNIX for Beginners Questions & Answers
I have a bash script that starts and stops a game among other things through in.fifo and out.fifo
In game the text comes out gray . Kinda hard to see in game window .
I would like to change it to purple and maybe capitalize it.
#!/bin/bash
#nwservctl.sh
cd... (5 Replies)
Discussion started by: 222222quick
5 Replies
3. Shell Programming and Scripting
This is the file which contains only neccessary values from the output of curl command i.e TEMP_FILE
Proxy Hostname
server0123.domain.com
Proxy IP address
XXX.XXX.XX.XX port 0000
Proxy Version
SGOS X.X.X.X
Proxy Serial #
... (5 Replies)
Discussion started by: ramprabhum
5 Replies
4. Shell Programming and Scripting
I have the line below to echo values with tab between them. The text is also colored, however, some\t does not work.
The output of this one below will have the first two \t not working.
echo "\033}\t$time\t$end\t$day\t$score\033
This one below will have all the \t working but will also... (4 Replies)
Discussion started by: erin00
4 Replies
5. Shell Programming and Scripting
My current line command is as follows:
echo -n "text: " ; grep "blah text" ../dir1/filename | wc -l
The output to the screen is as needed, but how do I print to a text file? (9 Replies)
Discussion started by: ncwxpanther
9 Replies
6. Shell Programming and Scripting
Dear all,
I have two files like this
file1
A B
C D
E F
file2
1,2
3,4
5,6
I want this output
output_expected
A B 1,2
C D 3,4
E F 5,6 (3 Replies)
Discussion started by: valente
3 Replies
7. Shell Programming and Scripting
Hello all.
I can not remember the command to extract a variable from the date command.
Basically what I need to do is to store the values of date in variable and rearrange them. I can not remember the command or the syntax to do so.
so..
date
Mon Mar 8 06:57:19 GMT 2010
$1 $2 ... (12 Replies)
Discussion started by: adelsin
12 Replies
8. Shell Programming and Scripting
Hi,
i need to print following text using echo:
/abc dir/c\
so i tried echo "/abc dir/c\
But it gives me error of Incorrect usage, i am using Hamilton cshell in windows Vista. Can any one please help me.
Thanks in advance
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
9. UNIX for Dummies Questions & Answers
is it possible to echo 'some text' every 10 minutes on my screen continues ,
without cron. (1 Reply)
Discussion started by: vkandati
1 Replies
10. Shell Programming and Scripting
I have a ksh script that is a login menu for my end users. I would like to have one line of the welcome message flash when there is a system notice about an impending outage.
The welcome message is a series of echo statements which prints a text file "msg of the day" with the status msg.
I tried... (1 Reply)
Discussion started by: MizzGail
1 Replies