Search Results

Search: Posts Made By: nazri76
20,814
Posted By nazri76
I try all your advise, but still not meet what i...
I try all your advise, but still not meet what i want the output. The sample file name in my directory like this;

SimpleQuestionOne#36116#FUN.txt
SimpleQuestion#36226#QUOTE.txt...
20,814
Posted By nazri76
i got syntax error at line 2: `$' unexpected....
i got syntax error at line 2: `$' unexpected. Could you help me?
20,814
Posted By nazri76
i like a simpler way...thanxs a lot. It work for...
i like a simpler way...thanxs a lot. It work for me. I have a lot a files to rename and if i want to rename the file name from

1) TestFish_done.txt to Test Fish Done.txt,

And

2)...
1,694
Posted By nazri76
thanx a lot. It work!
thanx a lot. It work!
1,694
Posted By nazri76
Process all file
I have several file in the directory. I try to run a encrypt script but one file processed only.

data_files='Ma*.txt'

for file in $data_files

do

java Encrypt key.txt $data_files
...
20,814
Posted By nazri76
i still can't get it. Maybe i give another...
i still can't get it. Maybe i give another example, i have original file as below;

Test Fish#10125#STAR.txt
Test Fish#52134#MOON.txt
Test Fish#32598#CLOUD.txt
Test Fish#66789#STORM.txt

I...
20,814
Posted By nazri76
Multiple Files Renaming with space
Hi,

I need help how to renaming multiple file. The original file look like this;

Test Monday.txt
Test Wednesday.txt
Test July.txt

I have more than hundred file in the directory.

How i...
6,223
Posted By nazri76
Sending cronjob log to external email
Hi All,

I would like to know if there away to send cronjob log to external email (such as nazri76@domain.com) instead of to /var/spool/mail/root .

If so, can we attach a file in the mail (e.g....
2,250
Posted By nazri76
Grep Question
Hello Everybody,

I have files; yyyymmdd.log which the data look like this;

[20/Jun/2006:00:00:56 +0800] "Txid=9426043&MsgTxt=Thankyou&UserId=john&Password=jh2501"
[21/Jun/2006:19:15:56 +0800]...
8,618
Posted By nazri76
Thanx bro!!! It's work. :D
Thanx bro!!! It's work. :D
8,618
Posted By nazri76
Grep from different folder
Hi All,

Need your assistance/advice.

I have 4 folders but using same name log file.

/user/access/server1
/user/access/server2
/user/access/server3
/user/access/server4

filename is...
8,408
Posted By nazri76
thank you aigle. But that is for 2 files...
thank you aigle.

But that is for 2 files only. If let say I have more than 2 files e.g. 5 files, then I want to sort all the files in one script. After all sorted, i want to compare all the 5...
8,408
Posted By nazri76
sort & match multiple files
Hi,

I have some question and need some guidance how to sort and match multiple files.

1. all the data in the files are numbers
e.g. 1234567
1584752
2563156
2. each...
2,641
Posted By nazri76
Thankss!!! But if the file no sorted, is it i...
Thankss!!! But if the file no sorted, is it i need to sort it first?

No, this is not homework, but something that i need to do everyday. :D

-nazri76-
2,641
Posted By nazri76
Hi, The sample data as below; File 1...
Hi,

The sample data as below;

File 1 (number1.csv):
1
2
3
4
5
6
7
8
9

File 2 (number2.csav):
1
3
5
9
2,641
Posted By nazri76
Delete unmatched data
Hi,

I try to write script to compare 2 data file (list of numbers) which after that I want to delete unmatched numbers and create new file for matched numbers.

Can anybody to help me?
Showing results 1 to 16 of 16

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