8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
morning,
i introduce the following sentence:
"sudo lsof -i | grep smtp"
ang get a list of the processes. two of them i don't know what is the function: 29574 & 29575, with the following indication: "memo" the rest of the processes shown are smtpd. i kill these two processes and they disappear,... (4 Replies)
Discussion started by: brijan007
4 Replies
2. Shell Programming and Scripting
Hi,
A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file.
I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming?
Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies
3. UNIX for Dummies Questions & Answers
If I have a file like:
9350. 0.288426
9370. 0.320469
9390. 0.394475
9410. 0.353157
9430. 0.336001
9450. 0.336692
9470. 0.356827
9490. 0.359891
9510. 0.346305
9530. 0.356506
9550. 0.348306
9570. 0.36832
9590. 0.379067
9610. 0.0246704
9630. 0
9650. 0
9670. 0 (5 Replies)
Discussion started by: cosmologist
5 Replies
4. Shell Programming and Scripting
Hi all, I'd like to know how to identify the first word in a string (in bash) for e.g.
echo "enter your name"
read name
(user enters 'Joe Bloggs' for e.g.)
echo "hello $name"
(output says "hello Joe")
Thanks for any help (5 Replies)
Discussion started by: kazazza
5 Replies
5. UNIX for Dummies Questions & Answers
how to identify the processes running by giving the parent process id (1 Reply)
Discussion started by: trichyselva
1 Replies
6. Solaris
Hi Experts,
Can we use some command from unix to find the available network interface? I did tried
Its listing following, however how can I decide the which vender card is attached
e.g. if its hme , bge or some thing else
Thanks (7 Replies)
Discussion started by: kumarmani
7 Replies
7. Shell Programming and Scripting
HP-UX
All,
I work in a manufacturing environment where some users connect to our Progress-based system with wireless RF units (Bar-code). Sometimes they go out of range and get disconnected but their session remains alive (ghost sessions). This sometimes causes record lock problems and is a pain.... (6 Replies)
Discussion started by: rm-r
6 Replies
8. Shell Programming and Scripting
I'd like to be able to identify in which column a string occurs. So far I know that I can tell how many columns there are and how to return a specific column:
$ sar -r | grep 'kbswpcad' | awk 'NF = 9 { print $NF }'
%swpused
I've even managed to get the columns to output to an array but I... (2 Replies)
Discussion started by: pondlife
2 Replies