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.
I am running AWS image with MySQL server installed. I am trying to run a php DB backup script but have a few basic questions. I have installed php. Is there a specific dir where all php scripts must reside/ launched from?
I have searched several forums but none address such basic questions...thx for the help!
First things first: what is this AWS you're referring to?
In general PHP scripts are "launched" (run/executed/...) in a web-environment.
If AWS (?) expects other means, try using cron, the OSes way of executing
P.S.: When asking questions it's sound to assume that people know nothing about
your set-up, so providing essential information ahead of time is going to give
you a far better chance of helpful responses.
I'm running AWS, a <.......> product on a LAMP stack w/ apache2 2.1.14 on
moohluntu 10.10 ....
PHP (PHP hypertext Preprocessor) is mostly a web based language for creating web appliations. However it does have command line access when you install the php-cli modules. So to answer your questions you can try by typeing the following to get the include_paths which contain the default scripts used by the php language engine
Thanks guys for your responses. Allow me to clarify, AWS stands for Amazon Web Services. I have a virtual machine running an image of CentOS 5x hosting MYSQL. I want to automate backups of several schema. To accomplish this I am using a php script that I run from terminal. Eventually I would like to run a cron job, but at this point I'm simply testing out the script. Since I am an absolute newbie, I was trying to rule out that I had placed the backup script in the incorrect dir to account for the errors that I am getting (e.g. :command not found, /: is a directory, and syntax error)