Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hello, I'm completely new to linux never touched it until last night where I had to buy a host in linux through searching google and other forums I was able to get everything working until I had to convert my .bat into .sh to start my server. I tried many things and added the permissions to the files which is what I read you should do after converting. But the .sh does nothing when I try to run it with sh <filename>
linux: CentOS 5.5
and using PaTTy in SSL
this is the .bat
@java -Xmx512m -Xincgc -cp l1jserver.jar;lib\xmlapi;lib\c3p0-0.9.1.2.jar;lib\mysql-connector-java-5.1.7-bin.jar;lib\javolution.jar
This is the .sh which I did after reading some guides and forums
# exit codes of GameServer:
# 0 normal shutdown
# 2 reboot attempt
If you add my 1st suggestion (set -xv) that will show you exactly what each cmd is doing...
Also, as per my note re '...bash', using sh on top of that is redundant, and usually sh invokes the POSIX shell which is not identical to bash ...