Search Results

Search: Posts Made By: LinuxLearner
1,365
Posted By LinuxLearner
How to extract lines between tags into different files?
I have an xml file with the below data:

unix>Cat address.xml
<Address City=”Amsterdam”
Street = “station straat”
ZIPCODE="2516 CK "
</Address>
<Address City=”Amsterdam”
Street =...
Forum: Linux 05-11-2011
13,822
Posted By LinuxLearner
How to add ^M (control M) in Linux
I would like to add ^M (CTRL V CTRL M) to all lines of the file.
This is easy using unix2dos command in SunOS,
unix2dos commands appends ^M for all the lines in SUnOS
but I dont see the same...
8,665
Posted By LinuxLearner
awk '{printf $0}' file_name > out_file
awk '{printf $0}' file_name > out_file
2,025
Posted By LinuxLearner
Parsing txt, xml files and preparing csv file
Hi,
I need to parse text, xml files to get the statistic numbers and prepare summary csv file.
What is the best way to parse these file and prepare csv file.

Any idea you have , please?
...
2,185
Posted By LinuxLearner
Script to monitor errors in logfile
Hi,
I would like to implements monitoring tool which looks at the logfile and sends me an email with error messages from the logfile.
The runtime errors are printed in logfile. The logfile also...
Forum: Ubuntu 01-10-2011
37,982
Posted By LinuxLearner
my apologies , that was a typo, I wanted to...
my apologies , that was a typo, I wanted to remove the actual username and password, and resulted in typo.


wget -r --tries=10 -nd -nH --user=user --password=password...
Forum: Ubuntu 01-10-2011
37,982
Posted By LinuxLearner
wget don't download complete file
I am using ubuntu 10.04 LTS
I tried to download the file using wget , the file size is 105.00 MB, but wget downloads only around 44K.

may be I am using wget in wrong way, any suggestions please?...
5,619
Posted By LinuxLearner
unfortunaly the sender will not send any empty...
unfortunaly the sender will not send any empty file,
do I need to check for file using while (1) ?
5,619
Posted By LinuxLearner
How do I know the file is arrived?
I hope you guys can help me .
My requirement is as below:

Some data files will be ftped by other machine to my machine to the path /home/input
As soon as the file is ftped I need to zip it and...
3,096
Posted By LinuxLearner
Convert array data to excel format
I need your help in changing the script
I have data has below text file

:> cat my_emp
Employee array(0)
Name : Albert
No : 1234
Address: stationstraat
City: Utrecht
Employee array (1)...
Forum: Red Hat 08-21-2010
14,760
Posted By LinuxLearner
No error message, no informationis displayed
No error message, no informationis displayed
Forum: Red Hat 08-20-2010
3,379
Posted By LinuxLearner
The issue has been resolved after changing the...
The issue has been resolved after changing the default hostname to some other name as below:
/etc/hosts file has been modified as:
127.0.0.1 myhost

/etc/syscinfig/network file has been modified...
Forum: Red Hat 08-20-2010
14,760
Posted By LinuxLearner
Unable to remove shared memory in Redhat Linux
unable to remove shared memory using ipcrm -m in linux

[pin01@brmhost lib]$ ipcs -m

------ Shared Memory Segments --------
key shmid owner perms bytes nattch ...
Forum: Red Hat 08-19-2010
3,379
Posted By LinuxLearner
Different hostnames with reboot while lan cable, no lan cable
I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable


Reboot with lan cable:
The...
5,475
Posted By LinuxLearner
How to find pattern in file names?
I have some files, those are abbreviated (ed,ea, and bi)

company_ed_20100719.txt
company_ea_20100719.txt
company_bi_20100719.txt


I would like to rename these files by replacing

ed...
2,229
Posted By LinuxLearner
Hi fpmurphy, thanks for the different solution,...
Hi fpmurphy,
thanks for the different solution,
is it possible to do XSLT stylesheet transformation in unix environment, I need the resultant fil e to be available on unix system.
Any utility...
2,229
Posted By LinuxLearner
I have tested both the script. Thank you very...
I have tested both the script.
Thank you very much Klashxx and Aigles(Jean-Pierre).

Klashxx, your script is good and works for given sample file.
If I have more records its repeating the...
2,229
Posted By LinuxLearner
Replacing the last record in xml with different tags
I have special requirement, my system provided the xml file as below(available xml file) and I need to convert it as below desired xml file.
is it possible thru shell scripts or awk?

What I need...
11,058
Posted By LinuxLearner
How to export table data to xml file?
Hi ,
I would like to get some suggestion from the experts.
My requirement is to export oracle table data as an xml file.

Any unix/linux tools, scripts available?


Regards,
Showing results 1 to 19 of 19

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