10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone.
I am trying to replace
sprintf(buffer, "{\"id\":1,\"method\":\"mining.update_block\",\"params\":}\n", coinid, blockhash);
with
sprintf(buffer, "{\"id\":1,\"method\":\"mining.update_block\",\"params\":}\n", coinid, blockhash);
this is the code I was trying but is... (9 Replies)
Discussion started by: crombiecrunch
9 Replies
2. Shell Programming and Scripting
Hi,
I have a find command that searches for all the .properties under current directory and its subdirectories.
find . -name "*.properties"
I would like to pass the output of the above find command to my "operation.sh script as the second parameter.
for eg:
./operation.sh 775
... (2 Replies)
Discussion started by: mohtashims
2 Replies
3. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
4. Shell Programming and Scripting
Hi All,
I need your assistance, I would like to replace all lines beginning with the word "begin" with the below text:
Device | IPMB0-A | IPMB0-B
Board Address |Sent SentErr %Errr |Sent SentErr ... (9 Replies)
Discussion started by: Dendany83
9 Replies
5. UNIX for Advanced & Expert Users
Ok here we go.
I have mounted remote drives and I am trying to get rsync to just sync certain directories within these mounted folders.
Example:
/mnt/bkmasterbackup1
/mnt/bkmasterbackup2
/mnt/bkmediabackup1
/mnt/prodnas02
/mnt/prodnas03
/mnt/prodnas04
/mnt/prodnas05
Inside these... (4 Replies)
Discussion started by: SteveMosher
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We currently use the below basic scripts to output details that the business requires for our AIX and Sun servers. I have been asked to produce the same sort of script to be used for our NCR MP-RAS UNIX and OS/2 UNIX servers but am not formilar with these forms of Unix. Would greatly... (0 Replies)
Discussion started by: kmuir
0 Replies
7. UNIX for Dummies Questions & Answers
I am trying to make a simple while loop which reads in a text until the person types quit. And it's not working, and I know it's a rather simple problem I just can't seem to understand... Once again all assistance is greatly appreciated.
#!/bin/sh
astring="z"
while astring!="quit"
do
read... (2 Replies)
Discussion started by: MaestroRage
2 Replies
8. Shell Programming and Scripting
I have a school project to create a shell program same as calendar i must create
a txt file with celebrations with vi i know this but the problem is i don't know awk
and grep.
The object of object is to create a program who read a date an appear the celebration.
Can you help me please !!!... (1 Reply)
Discussion started by: mytilini boy
1 Replies
9. UNIX for Dummies Questions & Answers
the command "nawk" returns the error command cannot be found in my unix system.
Is there a specific library i need to have to use this command?
I tried, the whereis command and it returns nothing.
if there is nothing to do, what command can i use to replace this nawk command?
Appreciate some... (4 Replies)
Discussion started by: 12yearold
4 Replies
10. UNIX for Dummies Questions & Answers
I have two questions I am struggling with...
How do the programs p1, p2, and p3 need to handle their standard files so they can work like this: p1 | p2 | p3 ?
What exactly is this command supposed to do?
$ kill -QUIT %1
& This command below?
$ sort -o emp.lst emp lst &
Any... (1 Reply)
Discussion started by: yahoo14
1 Replies