10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks!
I have been reading Vahalia's Unix Internals book, which states the following in the chapter dedicated to signals:
Given that, my understanding is that processes running in user mode don't become aware of signals until they switch to kernel mode, where the issig() function is called... (3 Replies)
Discussion started by: Tru69
3 Replies
2. Shell Programming and Scripting
Hi all.
I’ve 2 inputs here and would like to produce it in single ouput. I’ve drafted simple shell script but not sure how to put all this together. The final output should be “GROUP-XYZ” instead of “TEST”
Please advise.
INPUT1
GROUP-XYZ
INPUT2
type8code0@box:~/dbedit$ cat... (8 Replies)
Discussion started by: type8code0
8 Replies
3. Shell Programming and Scripting
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Discussion started by: kraljic
7 Replies
4. Red Hat
Hello
I am trying of a solution to produce date cmnd o/p as:
Feb 18 is the 049 day of the year.
Any ideas how to produce this? (2 Replies)
Discussion started by: ranumala
2 Replies
5. Shell Programming and Scripting
hi buddies;
ip.txt:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4
192.168.1.5
...
parameters.txt:
portvalue
username
password
session
... (2 Replies)
Discussion started by: gc_sw
2 Replies
6. Shell Programming and Scripting
Hi,
I have a list of files which I want to rename and zipped up. The zip file will be split into small files when it contains 500 renamed file.
Currently the way i am doing is like this.
Get the filenames of the files in a list
Generate another list containing the target filenames... (0 Replies)
Discussion started by: Leion
0 Replies
7. Shell Programming and Scripting
hi
i got a file called essay which contain few pages with many paragraphs. now i wanna with PERL to produce another file which called Essaylist that contain a sorted list of words that appear in the file essay.
the format for Essaylist:
$word found $times times on page a b c....
where $word... (3 Replies)
Discussion started by: mingming88
3 Replies
8. Shell Programming and Scripting
i got these files:
files: Prac1, Prac2, Prac3 (these 3 files have the same format), the format :
Prac1
20693680 10
20179687 9
20781637 5
21907894 6
Prac2
20693680 8
20179687 6
21907894 2
Prac3
20693680 8
21907894 9
file STUDENTS, the format:
20693680:familyname, firstname (10 Replies)
Discussion started by: mingming88
10 Replies
9. Shell Programming and Scripting
I wanna add a ":" at the end of each line, and i did something like this:
cat Totals | while read ID TOTAL
do
echo "${ID}:${TOTAL}:" >>Totals2
done
File: Totals
12345678:13
21443433:20
The outputs file Totals2 is:
12345678:13::
21443433:20::
but i want
12345678:13:... (3 Replies)
Discussion started by: mingming88
3 Replies
10. Shell Programming and Scripting
Hi! ;)
I have a file:
122 10/11/04
123 10/11/04
124 10/11/04
126 10/11/04
127 10/11/04
130 10/11/04
131 10/11/04
132 10/11/04
133 10/11/04
Between the number and the date I have a tabulation.
I want replace the tabulation with ;
I have tried... (3 Replies)
Discussion started by: Castelior
3 Replies