Search Results

Search: Posts Made By: sampandey31
1,853
Posted By sampandey31
But the Processes are running on PuTTy which is a...
But the Processes are running on PuTTy which is a Windows XP Software.
Where should I write this code which u have given and how to implement that?
1,853
Posted By sampandey31
Scripting an alarm
Hi All,
I am monitoring batch Processes running in UNIX environment.
I use PuTTy to monitor the process running.
I have to continuously monitor and look on the screen if some error has come or...
831
Posted By sampandey31
Unix Script
Hi all,
I wanted to write a UNIX Script for running a cobol program.
I am totally new to UNIX :(, kindly help me.

I even don't know how to start for this.:(
815
Posted By sampandey31
No output file is not empty as I have used ...
No output file is not empty as I have used

cp inputFile.txt outputFile.txt

But the date has not been appended to the outputFile.txt

Kindly tell me my mistake.
815
Posted By sampandey31
Need Help
I want to append the date at the end of each line.
I have tried the following, but neither is working.

Kindly help me


>outputFile.txt
[CODE] chmod 777 outputFile.txt
copy...
1,346
Posted By sampandey31
Thank you!!
Thank you!!
1,346
Posted By sampandey31
Actually I wrote the data in another temporary...
Actually I wrote the data in another temporary file and then clubbed all rows into one. Now I am writing the data present in this file to append the lines in another file.

---------- Post updated...
678
Posted By sampandey31
Shell Scripting
First of all I would like to tell you that I am totally new to UNIX so kindly explain me in detail if possible.

I have a file, which has multiple rows. I want to read the file till I reach the end...
1,346
Posted By sampandey31
I have tried Sed/Awk commands but unable to do...
I have tried Sed/Awk commands but unable to do it.
awk 'ORS=NR%1?RS:","' RS="\n" outFile.txt >> outputFile.txt

But not working. I am totally new to UNIX.
Kindly show me the way please.
1,346
Posted By sampandey31
Shell Scripting
Hi All,
I have a file in which data is as follows
ABCDE,FGHIJ
KLMNO,PQRST
UVWXY,ZABCD

Ok Now I want to append 400,CurrentDate,Status to each of the line.
Status will be inputted by the user....
886
Posted By sampandey31
What is this X?? And thanks for helping.
What is this X??
And thanks for helping.
886
Posted By sampandey31
Shell Scripting
Hi
I asked to user to enter his name. Now I have a input file in which I am checking whether this name exists or not.

I am using this
echo names = $(grep -w "$Name" inputFile.txt)
if [...
1,236
Posted By sampandey31
Thanks again, but I wanted to know for my...
Thanks again, but I wanted to know for my knowledge that how to read in a file until I encounter a comma.

And this is what I have written. I am asking the user to input and I am reading that input...
1,236
Posted By sampandey31
I have a file in which text file in which data is...
I have a file in which text file in which data is in the format
123456,1234567890,400,QWERTY,112121
987654,2345678901,300,ABCDEF,987909
There are similar rows in the data file.

Now I have to...
1,236
Posted By sampandey31
Read a file
Hi
I have a file in which data is in this format
123456,112233445566,400,ABCDEF,790
123450,123456789798,300,QWERTY,987
.
.
.
I mean to say I want to read data until I encounter a comma.
So I...
1,787
Posted By sampandey31
Thank You very very much. It worked. :) :) I...
Thank You very very much. It worked. :) :)

I just wanted to ask one thing more.
If suppose I wanted to read the file until I encounter a comma, then write that data into another file. How will I...
1,787
Posted By sampandey31
Hey thanks, but both are not working Below is...
Hey thanks, but both are not working
Below is the code.
In the code I am asking the user to enter the Location Code and Account number and status, then I am using Loaction and Account Number to...
1,787
Posted By sampandey31
Hey itkamaraj Thanks!! Can u explain me...
Hey itkamaraj
Thanks!!

Can u explain me what is F and NF and whats the logic behind this.
1,787
Posted By sampandey31
Shell Scripting
Hey I have a data in the file named as outputFile.txt. The data is in the format
123456,12345678912345,400,09/09/09,INACTIVE.

I want this output without commas ie
...
Showing results 1 to 19 of 19

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