9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have to use HP-unix OS to get difference between 2 files.while i tried a piece of code in other OS(linux/unix) as below, it worked fine & the output is desired one.
diff --suppress-common-lines -y file_1 file_2 >d.txt
The same doesn't works in HP -unix. Any help shall be... (6 Replies)
Discussion started by: vinil
6 Replies
2. Shell Programming and Scripting
Hello All,
I'm looking for some help with grepping for two specific strings in files with multiple lines. For instance, I have files and the content looks like this:
=====Start=====
Record:1
Field 1 = aaaaaaaaaa
Field 2 = bbbbbbbbbb
Field 3 = 1234567890
... (9 Replies)
Discussion started by: bbbngowc
9 Replies
3. Shell Programming and Scripting
#!/bin/bash
>error_log
for s in `cat s.txt`
do
uptime $s >>error_log
echo $s >>error_log
done
The above code produce output with server name and its uptime in 2 different lines .My requirement is to have the same in one line . Please assist (3 Replies)
Discussion started by: vinil
3 Replies
4. Programming
I suppose everybody here read reference books like Kernighan & Ritchie one, but where's the real deal?
I mean I'd like to learn more about special efficient techniques, tips&tricks, what compiler effectively does, and stuff like that.
Could you please suggest me some books or internet... (1 Reply)
Discussion started by: Luke Bonham
1 Replies
5. Shell Programming and Scripting
Hi All,
I got a problem and stuck to filter a log file, called it as "sample.log". This "sample.log" file is being generated by "script A". The "sample.log" look like below:
:FORMATDATE_FORMATTIME:CmdArg->:SomeDoce:SomeFormatDocument:
:FORMATDATE_FORMATTIME:imprtcp succeeded.... (1 Reply)
Discussion started by: anakiar
1 Replies
6. Shell Programming and Scripting
Hi,
I am a newbie in shell scripting. I want to get an expert help in solving a text processing issue.
The issue I am facing is that, in the below log file contents I need to extract each block of lines (it could be a single line also) based on some regular expression and store it in... (8 Replies)
Discussion started by: Alecs
8 Replies
7. UNIX for Dummies Questions & Answers
Can any1 please help me answer a couple of this question?
1) What is the process management of UNIX? (single task, multitasks, etc...)
2) What is the process management of Linux? (single task, multitasks, etc...)
3) What is the type of process of UNIX? (process, thread, etc...)
4)... (1 Reply)
Discussion started by: blind02002
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am looking for documentation (PDF, DOC, books, web ...) about UNIX scripts.
What could you advice me ?
Thanks. (3 Replies)
Discussion started by: Filippo
3 Replies
9. Filesystems, Disks and Memory
Hi. I wanted to increase my knowledge base with unix. can you help me find a like that talks about luns, physical volumes, volume groups, logical volumes then mountpoints? i would appreciate it
thanks
Jigar (1 Reply)
Discussion started by: jigarlakhani
1 Replies