Search Results

Search: Posts Made By: ment0smintz
Forum: What is on Your Mind? 06-25-2015
3,944
Posted By ment0smintz
Hello World!
Just wanna say "Hello World!" :)
2,203
Posted By ment0smintz
Vsftp upload error
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please...
Forum: Programming 07-04-2013
1
Asm
1,112
Posted By ment0smintz
Asm
Hi guys,

I am looking for ASM for dummies... I am given an assignment and IDK how to begin with... so perhaps any experts can link me resources I needed to equip. I did google search and find no...
Forum: Programming 02-04-2013
1,686
Posted By ment0smintz
C++ Edit code
Hi guys,

I am learning C++ on my own and i wanna redit the code using classes and heritance to revamp the code below.
example class for the card attributes -suit , - rank, - face
and also class...
1,625
Posted By ment0smintz
File globbing questions
hi guys,
jus some file globbing questions

sed "s/^.*on//"

what does the full stop and asterisk means?
i onli know that ^ means inverse or not
1,995
Posted By ment0smintz
can further explain to me in logic format.. cant...
can further explain to me in logic format.. cant decrypt most of it
i understand NR%2 is number of records mod 2 {p=$1; then everything looks so blur.....


awk: syntax error near line 1
awk:...
1,995
Posted By ment0smintz
the format now is: a1 ---- ----- -----...
the format now is:

a1 ---- ----- ----- -----
b1 ---- ----- ----- -----
a2 ---- ----- ----- -----
b2 ---- ----- ----- -----
a3 ---- ----- ----- -----
b3 ---- ----- ----- -----
a4 ---- -----...
1,995
Posted By ment0smintz
I am still new and I havent done much so... ...
I am still new and I havent done much so...

touch /tmp/result4_file // create 2 files
touch /tmp/result5_file

while read myRecord;do
case $myRecord in
*)
echo "$myRecord" >...
1,995
Posted By ment0smintz
Format data output result
Hi guys, need a guide to format desire output result here. Please guide me. Thanks in advance.


2012-08-30 00:01:56,554 DEBUG [SendThread - SingleMode] [com.psa.infra.cei.MessageProcessor] -...
1,037
Posted By ment0smintz
I think I have issue with my current facing...
I think I have issue with my current facing problem.

I am looking for the TTMT and i wish to also get the next line (Next Row)
1,037
Posted By ment0smintz
help with grep
cat cei.log.2012-08-30-07.csv | grep TTMT

if i wish to find another pattern together

i tried:

grep 'TTMT\|TTAC' cei.log.2012-08-30-07.csv fail and also other attempts
2,419
Posted By ment0smintz
It works :b:
It works :b:
2,419
Posted By ment0smintz
Almost there TQC101,,LOGOFF TQC102,,LOGOFF...
Almost there

TQC101,,LOGOFF
TQC102,,LOGOFF
TQC102,,LOGOFF
TQC103,,LOGOFF
TQC103,,LOGOFF
TQC104,2012-10-03 07:42:57,LOGON
TQC104,2012-10-03 07:42:57,LOGON

I got duplicate rows
2,419
Posted By ment0smintz
SunOS ops2gw1 5.10 Generic_144488-07 sun4u sparc...
SunOS ops2gw1 5.10 Generic_144488-07 sun4u sparc SUNW,Netra-T12

/usr/xpg4/bin/awk

---------- Post updated at 11:47 AM ---------- Previous update was at 11:34 AM ----------


can i do this:...
2,419
Posted By ment0smintz
result: ,, ,,LOGOFF ,,LOGOFF ...
result:


,,
,,LOGOFF
,,LOGOFF
,,LOGOFF
,,LOGOFF



---------- Post updated at 11:28 AM ---------- Previous update was at 11:23 AM ----------



awk: syntax error near line 3
awk:...
2,419
Posted By ment0smintz
result: TQC101 TQC102 TQC103 TQC104 ...
result:

TQC101
TQC102
TQC103
TQC104
1 , ,LOGOFF
1 , ,LOGOFF
1 , ,LOGOFF
1 , ,LOGOFF
2,419
Posted By ment0smintz
yes both are sorted yes that's the idea ...
yes both are sorted

yes that's the idea

I tried


nawk -F, 'FNR==NR{a[$1]=$2;next}{if($1 in a) $??? ;else $(NF+1)=",,LOGOFF"}1' OFS=,



Dont know what to add in
13,184
Posted By ment0smintz
export INTERVAL=1 export SCRIPT="something.py"...
export INTERVAL=1
export SCRIPT="something.py"

while [ true ]
do
clear
python ${SCRIPT}
sleep ${INTERVAL}
done



not sure if it helps.. googled..
2,419
Posted By ment0smintz
nawk script to manipulate txt file
Hi experts, I am not familiarised using nawk/awk to manipulate txt file. So I need ur help here. thanks.
txt1 - qc_m.log

TQC101
TQC102
TQC103
TQC104


txt2 - resultEqpt.log
...
Forum: Programming 10-02-2012
964
Posted By ment0smintz
sql guide needed
SQL> select
2 distinct qc_m|| ',' ||
3 to_char(logon_dt, 'YYYY-MM-DD HH24:MI:SS')|| ',' ||
4 CASE WHEN logon_dt IS NOT NULL THEN 'LOGON' ELSE 'LOGOFF' END
5 from qc_ct2 qc left join...
1,062
Posted By ment0smintz
[QUOTE=ment0smintz;302708021] read readTerminal...
[QUOTE=ment0smintz;302708021]
read readTerminal
terminal_c=$readTerminal
if [ $terminalc = 'B' -o $terminalc = 'K' -o $terminalc = 'T' ]
then
{
#Execute the first SQL query
}
elif [...
1,096
Posted By ment0smintz
thanks :)
thanks :)
1,096
Posted By ment0smintz
guide needed to combine 2 variables
readNOW=$(date +"%Y%m%d%H%M")

read readTerminal #input B
terminalc=$readTerminal

echo eqpt_list_QC_$terminalcT_$readNOW


how to get display result it:

eqpt_list_QC_BT_201209121530
1,062
Posted By ment0smintz
if else statement... need guide
read readTerminal
terminal_c=$readTerminal
if [$terminal_c == 'B' || $terminal_c == 'K' || $terminal_c == 'T'];
then
{
#Execute the first SQL query
}
else
echo next script
fi


...
Forum: IP Networking 09-25-2012
1,541
Posted By ment0smintz
then it is a homework. atleast i feel that is :p
then it is a homework. atleast i feel that is :p
Showing results 1 to 25 of 38

 
All times are GMT -4. The time now is 05:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy