10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
can anyone tell me the working of this logic.
here "last" is a variable or it has it own meaning . getting confused.
awk '{if (last && $2 != last) {print last, sum; sum=0}
sum=sum+ $3; last = $2}
END {print last, sum}' (4 Replies)
Discussion started by: scriptor
4 Replies
2. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
3. Shell Programming and Scripting
i have a parent process and 5 child process.
As soon as the parent process is completed the 5 child processes need to start simultaneously (like multithreading)
All I need to do in a shell script
the child process is a function
can any one help me on this
thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
Can anyone tell me how to clear list of queues in a file?
My file FILE1 has 3 queues
FILE1
FirstQueue
SecondQueue
ThirdQueue
I want to clear all these queues which belong to the same Qmanager from another script...
Can anyone help me for this..
Thanks in... (0 Replies)
Discussion started by: Ch Bushu
0 Replies
5. Shell Programming and Scripting
Hello,
I have a script which creates a certain text file.
Whenever I call it, I need to recreate this file, because I have no need in the previous content.
So I thought to remove the file every time I call the script, and that way I am sure that the previous content will not interrupt me.... (2 Replies)
Discussion started by: shira
2 Replies
6. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
7. Programming
How do I clear screen in g++
I've included curses and tried compile with lcurses as per gcc but fails, I can clear by using system("clear") but would prefer to use the curses library if possible. (2 Replies)
Discussion started by: gefa
2 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
I like this forum btw, and have only been lurking for about a day.
Recently I purchased some new hardware (AMD Athlon 64 3200+ and a Asus K8V Deluxe Motherboard), and I want to find an OS that can take advantage of the 64 bit processor.
Basically, what are the differences... (2 Replies)
Discussion started by: RoY_mUnSoN
2 Replies
9. Programming
what is the syntax for clearing the screen in c ?
when i tried "Clrscr()" the CC complier does not reconise it.
please do tell me more about this.
thanking you
imma (6 Replies)
Discussion started by: immanuelgangte
6 Replies
10. Programming
I searched the post and someone said to clear the screen in C, use
printf("\033[2J"); ??
However, this doesn't work...typo or no.
What is an equivalent command to 'CLS' in DOS/'clear' in UNIX to clear the screen and go to top of screen??
Thank you. (2 Replies)
Discussion started by: giannicello
2 Replies