ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to find out because I have a dos machine. It will run a program. If some how it exits, a com file will run to reboot and with a countdown timer for user intervention. The thing is, if the countdown .com file is run before the program, the countdown time will run/countdown. But if the program is run first, then the countdown time will NOT run/countdown.
I have absolutely no idea why, so I am trying to find out how the .com does the countdown, then from there find out what is wrong.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
ho de-com a dos com file
What do you mean by de-com
The most normal files in dos are 1) sys.com = system file without this dos don,t boot
2) Autoexec.bat = auto startup
3) Config.sys = system config
4) exe files =
5) devices drivers
it's very hard...com files run in real mode, live inside a single segment and have no relocation.
If you use 'ndisasm' (found as tool inside the 'nasm' assembler distribution) you can
de-assemble the small amount of code of your file and try to read/rewrite it.