Dear all Salam,
i have installed logrotation package in BSD, the script runs every night at 3:00 pm night and makes filename.1.gz. but when i use less command to see this gz file it says "do u want to see binary file??" through which utility i can see the contants of the file???
Regards,
Umair Shakil ETD
umair shakil wrote:
Dear all Salam,
i have installed logrotation package in BSD, the script runs every night at 3:00 pm night and makes filename.1.gz. but when i use less command to see this gz file it says "do u want to see binary file??" through which utility i can see the contants of the file???
If BSD works like Centos, you could use:
gunzip -c filename.1.gz|less
Mogens
Dear,
Thanks for your help, BSD and CentOs both are different, cenTos is a redhat while BSD is totally debian, also commands vary.
Problem is solved
Regards,
Umair Shakil ETD
On 10/19/07, Mogens Kjaer mk@crc.dk wrote:
umair shakil wrote:
Dear all Salam,
i have installed logrotation package in BSD, the script runs every night
at
3:00 pm night and makes filename.1.gz. but when i use less command to see this gz file it says
"do u
want to see binary file??" through which utility i can see the contants of the file???
If BSD works like Centos, you could use:
gunzip -c filename.1.gz|less
Mogens
-- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dear All,
If i want to store the .gz files in date or time format???? what configurations are required?
Regards,
Umair Shakil ETD
On 10/19/07, umair shakil umairshakeel@gmail.com wrote:
Dear,
Thanks for your help, BSD and CentOs both are different, cenTos is a redhat while BSD is totally debian, also commands vary.
Problem is solved
Regards,
Umair Shakil ETD
On 10/19/07, Mogens Kjaer mk@crc.dk wrote:
umair shakil wrote:
Dear all Salam,
i have installed logrotation package in BSD, the script runs every
night at
3:00 pm night and makes filename.1.gz. but when i use less command to see this gz file it says
"do u
want to see binary file??" through which utility i can see the contants of the file???
If BSD works like Centos, you could use:
gunzip -c filename.1.gz|less
Mogens
-- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
umair shakil wrote:
Dear All,
If i want to store the .gz files in date or time format???? what configurations are required?
On Centos, I would read "man logrotate", especially the point "dateext". Older logrotate's don't have this.
Mogens
--- umair shakil umairshakeel@gmail.com wrote:
Dear,
Thanks for your help, BSD and CentOs both are different, cenTos is a redhat while BSD is totally debian, also commands vary.
Problem is solved
Regards,
Umair Shakil ETD
On 10/19/07, Mogens Kjaer mk@crc.dk wrote:
umair shakil wrote:
Dear all Salam,
i have installed logrotation package in BSD, the
script runs every night
at
3:00 pm night and makes filename.1.gz. but when i use less command to
see this gz file it says
"do u
want to see binary file??" through which utility i can see the contants of
the file???
If BSD works like Centos, you could use:
gunzip -c filename.1.gz|less
Mogens
-- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If they are totally different, why did you ask that question in the centos list and not on a BSD list?
Steven
Get your Art Supplies @ www.littleartstore.com
Steven Vishoot wrote: ...
If they are totally different, why did you ask that question in the centos list and not on a BSD list?
Claiming that BSD is debian wouldn't be the best starting point on a BSD list :-)
Mogens
Dear,
Tell me one thing, why u people not experience different things????? Dont u know all flavours base is same???? why dont u people read the whole message i just said, commands vary different in the sense that it is a pure open source project with no binaries included....
If i ask a question for different OS, what is he problem in that.... one answer can make a difference
Dont u know by posting this question, i have learned two important things.....
well man Its totally non professional behaviuor..... i have joined the list to share my knowledge and dificulties and also help others...
Here i have faced very strong words most of the time from you people.... I am not an english man OK, my approach towards things would be different from u....
Also i am not here to fight with u ..... By ur POST "Mogans" is a stupid person who replies haan???
Regards,
Umair Shakil ETD
On 10/19/07, Steven Vishoot sir_funzone@yahoo.com wrote:
--- umair shakil umairshakeel@gmail.com wrote:
Dear,
Thanks for your help, BSD and CentOs both are different, cenTos is a redhat while BSD is totally debian, also commands vary.
Problem is solved
Regards,
Umair Shakil ETD
On 10/19/07, Mogens Kjaer mk@crc.dk wrote:
umair shakil wrote:
Dear all Salam,
i have installed logrotation package in BSD, the
script runs every night
at
3:00 pm night and makes filename.1.gz. but when i use less command to
see this gz file it says
"do u
want to see binary file??" through which utility i can see the contants of
the file???
If BSD works like Centos, you could use:
gunzip -c filename.1.gz|less
Mogens
-- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If they are totally different, why did you ask that question in the centos list and not on a BSD list?
Steven
Get your Art Supplies @ www.littleartstore.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, 19 Oct 2007, umair shakil wrote:
Dear,
Tell me one thing, why u people not experience different things????? Dont u know all flavours base is same???? why dont u people read the whole message i just said, commands vary different in the sense that it is a pure open source project with no binaries included....
If i ask a question for different OS, what is he problem in that.... one answer can make a difference
Dont u know by posting this question, i have learned two important things.....
well man Its totally non professional behaviuor..... i have joined the list to share my knowledge and dificulties and also help others...
Here i have faced very strong words most of the time from you people.... I am not an english man OK, my approach towards things would be different from u....
Also i am not here to fight with u ..... By ur POST "Mogans" is a stupid person who replies haan???
a) from http://centos.org/modules/tinycontent/index.php?id=16 "The CentOS discussion and information list is a general purpose communication list for centos. Security updates are currently announced on this list once daily. This list is read and reply for anyone that is a member of the mailing list." Nothing in there about BSD
b) Most of us know a lot about many different things, but we confine our answers to the list subject (CentOS).
c) Despite being 100% off topic, you've received several thoughtful answers for free. And serveral gentle comments that this isn't the right place for your question. What's the problem with that?
d) I suggest you read http://www.catb.org/~esr/faqs/smart-questions.html
------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
on 10/19/2007 12:01 AM umair shakil spake the following:
Dear,
Thanks for your help, BSD and CentOs both are different, cenTos is a redhat while BSD is totally debian, also commands vary.
BSD is not totally debian. BSD is BSD. It is not linux in any form or shape. CentOS is Linux, RedHat is linux Debian is Linux, BSD is not. You should really try the BSD list for the flavor of BSD you are using, whether OpenBSD, FreeBSD, NetBSD, or ...