9 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. Shell Programming and Scripting
Hi
We have several folders and subfolders in a heirarchy, representing clients and files we send to them. Files that are not processed are placed in reject folder. I am able to run a LS that will scan all these folders, and ones that show entries (rejected files) are seen here. I am looking for... (8 Replies)
Discussion started by: cdc01
8 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Files stored in /bin, /sbin, /usr/bin, and /usr/sbin vary in their respective sizes. In fact, there are 244... (1 Reply)
Discussion started by: alindner
1 Replies
5. AIX
I need some assistance in setting up an AIX server for DR. The server I am building is an RS/6000 B50 Type 7046 with AIX 4.3.3. I am restoring a mksysb from a backup tape from our current production server which has different hardware specs. When I attempt the mksysb restore, I receive the... (2 Replies)
Discussion started by: genesis211
2 Replies
6. 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
7. 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
8. 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
9. 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