10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am searching for a process that should be up and running. Im using the following command
ps -ef | grep elasticsearch
to get
elastic+ 1673 1 0 Jan29 ? 05:08:56 /bin/java -Xms4g -Xmx4g -Djava.awt.headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
2. Shell Programming and Scripting
Hello scripting geeks,
I am new to scripting and facing some issues in writing the logic of the script. Request your kind help here
Actually when i run a command i get o/p as below
o/p :
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
these are hex values i guess...now i want to... (15 Replies)
Discussion started by: kulvant29
15 Replies
3. UNIX for Dummies Questions & Answers
Hi Folks,
I have a situation here, where no command is giving any output, and it's not even showing any error message also.
What could be the reason? (3 Replies)
Discussion started by: nixhead
3 Replies
4. Shell Programming and Scripting
Hello
I am working on one script where I am trying to display all the directories which is inside the workspace but somehow it is giving me weird output and this is occurring only with one directory other also having the result.html file inside the directory.
for i in `ls -1 | egrep -iv... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies
5. Solaris
Hi,
This is Solaris-10 box and in few of file-system (root file-system of non global zones), usage/available is not showing correct size. I am not able to figure out, what is eating up this space.
Global Server - bdrpod01
Non Global zone - bdrpod01-zputq01
root@bdrpod01:/root# df -h... (2 Replies)
Discussion started by: solaris_1977
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I'm having an consistency issue....
grep 'a' /usr/share/dict/words
1) This will highlight every 'a' in each word.
grep 'a\{1,\}' /usr/share/dict/words
2) This will highlight 'a' if it occurs at least once in a sequence. So every 'a'.
Output of 1) I would... (1 Reply)
Discussion started by: MykC
1 Replies
7. Shell Programming and Scripting
Hi,
I'd like to have a script what takes the 'who' output and grabs the user names and outputs just the user name, and no duplicates.
I know I could do something like:
who | awk '{print $1}' | uniq -u
but I'd like to stay away from using the 'uniq' comand and just use awk.
Thanks (5 Replies)
Discussion started by: lochraven
5 Replies
8. Shell Programming and Scripting
Hi ,
Just to find out a way to compare these 2 files and give unique output.
For eg:
1.txt contains
1
2
3
4
5
6
--------------------------------------
2.txt contains
1
2
6
8 (1 Reply)
Discussion started by: rauphelhunter
1 Replies
9. Shell Programming and Scripting
Hi,
I can't find how to achive such thing, please help.
I have try with uniq and comm but those command can't compare columns just whole lines,
I think awk will be the best but awk is magic for me as of now.
file a
a1~a2~a3~a4~a6~a7~a8
file b
b1~b2~b3~b4~b6~b7~b8
output 1:
compare... (2 Replies)
Discussion started by: pp56825
2 Replies
10. UNIX for Dummies Questions & Answers
First time poster -
I have a huge file and i want to sort and compress it to something more readable
Ex:
FUTNCA01-SL1 DMT8a4 5 3
FUTNCA01-SL1 DMT8a4 5 9
FUTNCA01-SL1 DMT8a4 5 21
FUTNCA01-SL1 DMT8a4 5 22
FUTNCA01-SL1 DMT8a4 5 23
FUTNCA01-SL1 DMT8a4 5 24
FUTNCA01-SL1 DMT8a4 6 2... (13 Replies)
Discussion started by: jjoves
13 Replies