10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm getting a list like the following and I'd like to kill each PID in turn.
... (3 Replies)
Discussion started by: ejianu
2. UNIX for Dummies Questions & Answers
I would like to parse two strings from lines in a file only when both strings appear on the same line. For example, if I have the following line:
string1 string2 string3 string4 string5 string6 string7 string8 string9
I would like the output to be:
Can someone give me... (5 Replies)
Discussion started by: ARBlue79
3. Shell Programming and Scripting
"AFafa": "FAFA","AFafa": "FAFA"
I need to insert a new line before the closing brackets "}" so that the final output looks like this:
"AFafa": "FAFA","AFafa": "FAFA"... (6 Replies)
Discussion started by: SkySmart
4. Shell Programming and Scripting
Can somebody provide me with some sed expertise on how to parse the
27-MAR-2011 10:28:01 * (CONNECT_DATA=(SID=dmart)(CID=(PROGRAM=sqlplus)(HOST=mtasnprod1)(USER=mtasnord))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.197.7.47)(PORT=54881)) * establish * dmart * 0
I would like... (3 Replies)
Discussion started by: BeefStu
5. Shell Programming and Scripting
user/yyy/Trainees/Psychiatric NP interns
user/yyy/Trainees/Psychology... (4 Replies)
Discussion started by: spacegoose
6. Shell Programming and Scripting
I want to convert my cron list into a csv
Can you please help me with sed ?
#06,21,36,51 * * 1,2 * (. ~/.profile ; timex /some/path/script -30 -15) >> /some/path/logfile2 2>&1
* * * * * (. ~/.profile ; timex /some/path/script2) > /some/path/logfile2
To:... (1 Reply)
Discussion started by: drbiloukos
7. Shell Programming and Scripting
I want to delete corrupt records from a file through awk or sed.
Can anyone help me with this
Change subject to a descriptive one, ty. (1 Reply)
Discussion started by: Rahul_us
8. Shell Programming and Scripting
I have .tar files which exists under different directories after the below code is run:
find . -name "*" -type f -print | grep .tar > tmp.txt
./dir2/subdir3/database-db2_28112009.tar... (2 Replies)
Discussion started by: EAGL€
9. Shell Programming and Scripting
I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Discussion started by: redseventyseven
10. Shell Programming and Scripting
I have a log file that for some reason, once or two time a month, line foods are missing.
This log is generated from vmstat everyminute. I dont know why sometimes it does this.
Each line in the log should have 18 columns separated by one or more spaces.
Good Log: (not actual log)
1 1... (8 Replies)
Discussion started by: Ikon