Search Results

Search: Posts Made By: Anupam_Halder
1,212
Posted By Anupam_Halder
comm -23 file1.txt file2.txt did the trick....
comm -23 file1.txt file2.txt
did the trick. Thank you.
1,212
Posted By Anupam_Halder
From 2 files create 3rd file with uncommon data
Hi All,

I have two files. File1 and File2.

Want to create another file with all the records of File1 those are not present in File2.

Please guide.

Thanks in advanced.
Anupam
11,450
Posted By Anupam_Halder
Difference between & and nohup &
Hi All,

Can anyone please help me understanding what the difference between the below two?


1. script.sh &
2. nohup script.sh &
1,184
Posted By Anupam_Halder
Call script b.sh from a.sh
Hi ,

I wanted to how to do the below.

Lets say I have:-a.sh
b.sh

Two scripts. My requirement is:-
I will call b.sh from a.sh
b.sh can run in parallel to a.sh but only need to be...
1,398
Posted By Anupam_Halder
I have GNU `date` in installed in my Unix box....
I have GNU `date` in installed in my Unix box. Can you show some example. I got some from the unix forum but haven't got all types of input formats.
1,398
Posted By Anupam_Halder
Date Reformatting function
Hi ,

I am trying to create a function with below requirements

1. It will take two parameters as Input. Date and Date format
2. Output will be in YYYYMMDD format.

Example 1:

Input:...
3,668
Posted By Anupam_Halder
Pass system date and sysdate-7 in script through crontab
Hi ,

I have to schedule one job in crontab, but with two parameters.

1. Sysdate in YYYYMMDD format
2. Sysdate - 7 in YYYYMMDD format

Please suggest how to do that.

Thanks in advance.
1,147
Posted By Anupam_Halder
It's replacing even if there is no backslash. ...
It's replacing even if there is no backslash.

For example when input is

"G"rea"t \"India\""
"Gr"ea"t \"World\""
"I "am loving every \$ I earn."


I am getting output as
...
1,147
Posted By Anupam_Halder
Hi , Will it be performance wise good, if I...
Hi ,
Will it be performance wise good, if I take one loop and replace 1st records with 2nd globally using SED?

---------- Post updated at 12:55 PM ---------- Previous update was at 12:49 PM...
1,147
Posted By Anupam_Halder
Sorry for incomplete requirement. Please check...
Sorry for incomplete requirement. Please check now. I have updated my post.
1,147
Posted By Anupam_Halder
Replace from taking from file
Hi,

I have one file. S_CHAR.cfg. Content given below.


\" abcd1234
\| abcd1235
\$ abcd1236


So it has two record per line delimited by space.

No I am looking for some help on how to...
2,774
Posted By Anupam_Halder
One problem here.. In case not matching file...
One problem here.. In case not matching file found, it's returning all files in all folder I guess. ( I am getting a huge list).
2,774
Posted By Anupam_Halder
No Problems. Thank you for trying anyway.
No Problems. Thank you for trying anyway.
2,774
Posted By Anupam_Halder
Here it is. sample input ...
Here it is.

sample input
FILE_PATTERN="^Test"
FOLDER="/nas/testfolder"

Output:
5

So it will search latest file starting with the name "Test" in the folder "/nas/testfolder" and will...
2,774
Posted By Anupam_Halder
Check how many minutes ago the last file created
Hi ,

I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder.

Thanks in advance.
2,092
Posted By Anupam_Halder
Sendmail function
Hi ,

The default mail/mailx function is not supporting HTML/ Headers. But sendmail does. Can anyone of you please guide me in creating function like

1. Sending HTML Emails.


FN_SEND_EMAIL...
1,193
Posted By Anupam_Halder
Get filelist in a folder which is created in last x hours
Hi ,

I am looking for some help in getting the list of files matching some pattern in a folder and those were created in last X hours.


Please help.

Thanks in advance.
2,970
Posted By Anupam_Halder
While loop breaking when using "ssh" command inside
Hi ,

I am trying to read a list of hosts from a config file and trying to get file list from that host. For this I have used one while loop.

cat "$ARCHIVE_CFG_FILE" | sed '/^$/d' | sed...
1,138
Posted By Anupam_Halder
I think this will move files from sub directory...
I think this will move files from sub directory as well. I don't want to move files from sub directory.
1,138
Posted By Anupam_Halder
Archive old file
Hi All,

I have the below senario.

File_Name="^Test>*"
Move_Delay=12
Source_Folder="/odi/nas/"
Target_Folder="/odi/nas//archive"

Now I want to move any file that is older than...
2,767
Posted By Anupam_Halder
Thank you all. ---------- Post updated at...
Thank you all.

---------- Post updated at 05:09 PM ---------- Previous update was at 05:08 PM ----------

My Bad. I used space as delimited for those special character.
2,767
Posted By Anupam_Halder
Function to add escape character before specified character
Hi ,

I am looking for a function which will do the following.

1. I have a variable which will hold few special chracter like
SPECIAL_CHARS="& ;"2. I have an escape character.
...
1,252
Posted By Anupam_Halder
Regular expression
Can someone please explain me what does this mean?

^[-a-zA-Z0-9]{1,50}$
4,892
Posted By Anupam_Halder
"starting day of the week" - Monday "monthly...
"starting day of the week" - Monday
"monthly and quarterly job will be triggerred if it is 1/1" -- Monthly Job will be triggered on 1st day of the month, total 12 times in a year. Quaterly job will...
4,892
Posted By Anupam_Halder
Get 1st date of month, week , quarter
Hi ,

I need to trigger few jobs based on the system date ( in case user is not passing any date to the script. In case passing then need to take the user date).

Here is the requirement

1....
Showing results 1 to 25 of 81

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