Search Results

Search: Posts Made By: GosarJunk
4,084
Posted By GosarJunk
Sorry for the late reply Don, Names of...
Sorry for the late reply

Don,

Names of the files in various directories will be same except for the datetime appended at the end of the files. All the files will appear in all the directories....
4,084
Posted By GosarJunk
Compare files with different names in different directories
Hi,

I have a requirement to compare files in different directories with different names. The files have a datestamp in their name (It might not be a sequential datetimestamp).
This is for Redhat...
Forum: Web Development 01-10-2014
1,545
Posted By GosarJunk
How to redirect URLs in Apache?
I am a total newbie to Apache. I need to do this only for this weekend during an upgrade from old system to new system

We have different URLs http://domain.name/xxx (xxx varies to any length and...
5,806
Posted By GosarJunk
Change value of a parameter in a file[solved]
I have a requirement to change the value of a parameter in a configuration file at a certain time before a particular script (python script) runs so that it outputs debug logs for the script.
...
2,389
Posted By GosarJunk
ShamRock's suggestion worked fine. I figured it...
ShamRock's suggestion worked fine.
I figured it out - it was not the first field that needed to be checked for duplicates but the second field. I changed ShamRock's awk script appropriately and it...
2,389
Posted By GosarJunk
Thanks ShamRock. It works on the test file...
Thanks ShamRock.

It works on the test file which i posted.

However when i tried it on my actual file of around 5.3 million rows, it stripped out 600K rows which is kind of wrong because when i...
2,389
Posted By GosarJunk
Delete Duplicate line (not really) from the file
I need help in figuring out hoe to delete lines in a data file. The data file is huge. I am currently using "vi" to search and delete the lines - which is cumbersome since it takes lots of time to...
3,094
Posted By GosarJunk
I searched thru the web but did not get any...
I searched thru the web but did not get any examples.

We have the following documentation for using && and || for if-then-else condition
# cmd1 && cmd2 Run cmd1, then if cmd1 successful run...
3,094
Posted By GosarJunk
Hi Methyl, Sorry my bad - i updated the...
Hi Methyl,

Sorry my bad - i updated the original post where i left the "." in the filename for Mutex.
The "." is correct - since we will be having /tmp/.test or /tmp/.globallock file - hidden...
3,094
Posted By GosarJunk
Unix Shell Script question
I have the following script
=========
#!/bin/sh

MUTEXPREFIX="/tmp/"
READMUTEX=(test globallock)

# If mutexes found - exit out
for m in "${READMUTEX[@]}"; do
[ ! \( -e...
Showing results 1 to 10 of 10

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