7 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Input file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 (6 Replies)
Discussion started by: Sagar Singh
6 Replies
2. Shell Programming and Scripting
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Discussion started by: vizz_k
2 Replies
3. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I need to make an program that in a loop creates one parent and five children with fork(). The problem i'm trying to solve is how to delete the parent and child of the childīs process.
2. Relevant commands, code, scripts,... (0 Replies)
Discussion started by: WhiteFace
0 Replies
4. What is on Your Mind?
By far, Doritos Nacho Cheesier are the best tasting chips, well at least too me.
Have you tried them?
What are your favorite chips? (5 Replies)
Discussion started by: Neo
5 Replies
5. Fedora
# od -c .
od: .: read error: Is a directory
0000000
I read the book about shell (Kernighan, Pike) and some exaples (like this) does not work.
I read this book carefully (because I think now quickly) even reread to better understand.
In this book there is a good example how to see what a... (2 Replies)
Discussion started by: Xcislav
2 Replies
6. Shell Programming and Scripting
This is not the same as a few of the other posted items dealing with sub-process pids (that I saw anyway).
If zot contains:
echo "main mypid: $$ - lastpid: $!"
(
echo "block mypid: $$ - lastpid: $! - ppid: $PPID"
ps -ef > xxx
sleep 5
echo "block mypid: $$ - lastpid: $! - ppid:... (6 Replies)
Discussion started by: MichLab
6 Replies
7. UNIX for Dummies Questions & Answers
Is their a way to grep for only one occurrence? Here is an example:
given the file information:
BCX 3 5
BCX 23 94
BNG 34 34
BCX 2 09
if I do:
grep BCX ./file
then i get them all, how can i get just one of them. But let's say there could be a variable number of the desired... (5 Replies)
Discussion started by: wxornot
5 Replies