Search Results

Search: Posts Made By: kumarjt
52,712
Posted By kumarjt
Thanks all. The command worked with enclosing the...
Thanks all. The command worked with enclosing the URL with double quotes and it worked.

Regards
Kumarjit
52,712
Posted By kumarjt
Using CURL command with special characters in URL
Hi.
I 'm trying to hit a REST api and retrieve a JSON feed, and the URL has special characters in it.
Something like:
Example Domain (https://www.example.com/?sample=name&id=1001)

The below...
3,632
Posted By kumarjt
Hello Jim, thanks for the feedback, but these are...
Hello Jim, thanks for the feedback, but these are the exact commands that were run, and I cannot quote the actual file path/search patterns in this forum.

The find command throws error that its...
3,632
Posted By kumarjt
Parallel RM and FIND commands conflicting
Hi all.

Long time!!
Hope you're doing well..

I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution.

We are running an rm and find command...
967
Posted By kumarjt
Add source file name to file output
OS: Linux
kernel ver: 2.6x
shell: Korn(ksh)


hi.

We are required to read contents for mutliple GZIP(.gz) files and perform some custom sanity checks downstream, example of such a check can a...
5,270
Posted By kumarjt
Thanks for the help disedorgue. Just the thing I...
Thanks for the help disedorgue. Just the thing I wanted.....

But, can this one liner be acheived by any other command than PERL?
The reason for asking so is in our project, we've not...
5,270
Posted By kumarjt
Of all the replies, Don Cragun's has been the eye...
Of all the replies, Don Cragun's has been the eye opener for me.

I thank all of you for the support, but the actuality is ABCA653 and ABCAA3
needs to be handled seperately even if the expected...
5,270
Posted By kumarjt
thanks for the lead Ravinder, but the output is...
thanks for the lead Ravinder, but the output is not as expected.

I need 65666567123, but with the command you gave, output is 65 66 65 67 49 50 51 10


thanks.
Kumarjit

...
5,270
Posted By kumarjt
Replace alphabets in a string with their ASCII values
hi. I have a requirement where I need to REPLACE all alphabets from an alphanumeric input string into their respective ASCII decimal value. For example:

If the input string is ABAC123, the output...
2,437
Posted By kumarjt
Reading ALL BUT the first and last line of a huge file
Hi.

Pardon me if I'm posting a duplicate thread but..
I have a text file with over 150 Million records, file size is in the range if MB(close to GB).
The requirement is to read ALL the lines...
10,083
Posted By kumarjt
Thanks for all the feedback. @Scrutinizer:...
Thanks for all the feedback.

@Scrutinizer: What if the starting position of the LOB indicator field is 29th character position instead of 4th? Should I put 29 dots in my grep expression??

...
10,083
Posted By kumarjt
they will serve as input to another downstream...
they will serve as input to another downstream process.

In your solution, you've just checked the value of two consecutive column positions starting from position 4 against any numeric values...
10,083
Posted By kumarjt
Filter lines based on values at specific positions
hi.

I have a Fixed Length text file as input where the character positions 4-5(two character positions starting from 4th position) indicates the LOB indicator. The file structure is something like...
1,254
Posted By kumarjt
Thanks for the quick response. But the...
Thanks for the quick response.
But the configuration file(which has all EXPORT commands) not only has DB passwords, but also passwords which are required to perform file SCP's.

For DB's,...
1,254
Posted By kumarjt
Obfuscating sensitive information in EXPORT commands
Hi.

Been a while since I posted last time, and I hope you all are doing well.
I'm automating a Data Integration process end to end using Shell programming over Linux 2.6x platform, and I'm...
63,314
Posted By kumarjt
My question is pretty clear. LIST ALL PROCESSES...
My question is pretty clear.
LIST ALL PROCESSES THAT ARE CURRENTLY RUNNING IN THE BACKGROUND
and for that, is it possible to use the ps -ef command, and list records where STAT='S'(interruptible...
63,314
Posted By kumarjt
Processes that runs without any inputs required...
Processes that runs without any inputs required from the terminal are background processes. That's what I know of.

But how exactly would I be listing them, is yet to be discovered. :confused:

...
63,314
Posted By kumarjt
List all background processes
How do I list the process in a Unix based system which are running in background?

The following are options that I'm aware of, but they may not be appropiate.

a. using ps -ef , and getting...
Forum: Linux 10-21-2013
1,688
Posted By kumarjt
Way to execute a command from CLI
OS : Linux
Kernel ver : 2.6x

Is there any legit difference between way that shell interprets the below mentioned command lines in Linux environment?


Option A> . <exec_file_name> arg1 agr2...
1,607
Posted By kumarjt
Control characters -weird problem
I am using Korn shell on Linux 2.6x platform , and I am suing the following code to capture the lines which contain CONTROL CHARACTERS in my file :

awk '/[[:cntrl:]]/ {print NR}'...
2,447
Posted By kumarjt
Thanks RudiC , but I think once an external...
Thanks RudiC , but I think once an external command (like script_2.ksh) is spawned to the background , the Parent PID for this process would be 1 (i.e., PID of the init process) and not the PID of...
2,447
Posted By kumarjt
Parallel processing - continued
Hi,
I am taking up the cue from where I was left in my earlier post ( link given below )
https://www.unix.com/shell-programming-scripting/231107-implement-parallel-processing.html
I actually wanted...
5,125
Posted By kumarjt
@RudiC : Danke Rudi .......:b: But , didnt...
@RudiC : Danke Rudi .......:b:
But , didnt understand what you tried to mean by saying :

you may need to close (fn) in between...

If the numbre distinct values indicated by the field whose...
5,125
Posted By kumarjt
Split file based on distinct value at specific position
OS : Linux 2.6x
Shell : Korn

In a single file , how can I identify all the Uniqe values at a specific character position and length of each record ,
and simultaneously SPLIT the records of the...
3,553
Posted By kumarjt
@ wisecraker : I am using the method specified by...
@ wisecraker : I am using the method specified by millan ( for loop , and within each loop execute the command as background proces ) , and it works fine , but after all the iterations of the for...
Showing results 1 to 25 of 59

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