10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have some tab delimited text data,
You can see that the data is incomplete in some cases. There is a trailing tab after the first column for each incomplete row. I... (2 Replies)
Discussion started by: LMHmedchem
2. Shell Programming and Scripting
Currently we have nmon running on our Red hat Linux server.
The ouput file is now coming with the naming convention as "servername_160321_0010.nmon".
The output file naming convention has to be changed as "nmon_servername_daily_2016.03.21_00.00.00"
How can we do it ? Any suggestions... (10 Replies)
Discussion started by: newtoaixos
3. Shell Programming and Scripting
I've got a file that looks like this (spaces before first entries intentional):
12345650-000005000GL140227 ANNUAL HELC FEE EN
22345650-000005000GL140227 ANNUAL HELC FEE EN
32345650-000005000GL140227 ANNUAL HELC FEE EN
I want to read through the file line by line,... (6 Replies)
Discussion started by: Scottie1954
4. Shell Programming and Scripting
I am trying to make a bash script that can pull data from a file and then change one part of said data.
I want to search by username and pull the full line. That way there is a way to replace just one part of that line then return it back to the file.
My Data is stored like:
... (1 Reply)
Discussion started by: serverfull
5. Shell Programming and Scripting
I have a file, let's call it "info.tmp" that contains data like this ..
I need to read "info.tmp" and for each line add strings in a way that the final output is
put /logs/ua/dummy.trigger 'AAA00001.FTP.XXX.BLA03A01.xxxxxx(+1)'
where XXX... (5 Replies)
Discussion started by: Andy_ARG
6. UNIX for Dummies Questions & Answers
I am trying to view a file which is quite large. However, whenever I do 'cat (file name)' it shows me just the half.. I am using Putty to access my server.
Also, is it possible to edit a file from a unix system on a 'Gedit for Windows" text editor?
Thanks (7 Replies)
Discussion started by: DallasT
7. Shell Programming and Scripting
I have a file containing data like :-
I want to end up with a file that looks like:-... (6 Replies)
Discussion started by: sniper57
8. Shell Programming and Scripting
I have a file which has following contents
i want the o/p to be like
date (7 Replies)
Discussion started by: fugitive
9. Shell Programming and Scripting
I'm very new to writing scripts, so here is my problem...I have the following code already written (in perl)
system "rm file2";
my($line) = $_;
print file2 "$line\n";
print... (2 Replies)
Discussion started by: ddrew78
10. Shell Programming and Scripting
I have a baby.txt file with two type of message:
xxxxxxxx is missing
xxxxxxxxxxx is not missing
xxxx is missing
xxxxxxxx is not missing
xxxxxxxx is not missing
For the above, I need to read file and get all "xxxx is missing" and write into baby_missing.txt. If no message "xxxxx is... (12 Replies)
Discussion started by: happyv