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.
First off i am a Ununtu Noob (big time), i understand the concept of programming, i'm just simply no good at it. Long time Windows user so going back to a command line style takes a change of thinking. To help me get used to this i use Ubuntu 11.04 64-bit on a Acer Revo 3700, which acts as my media by running XBMC (eden beta 3). I also use transmission.
Now I've experimented with different Ubuntu ftp servers and settled on pure-ftpd (because i could use pure-admin as a GUI for users)
My problem is that for speed of use i want to be able to do site-to-site (FXP) transfers from the Ubuntu box to my NAS drive.
Now using google i understand i need to stop the pure-ftpd daemon and restart it with the -w switch (i tried to write my own script but got lost).
I have tried the commands
sudo service pure-ftpd stop
sudo pure-ftpd -w
and it works, but want i cant do is make pure-ftpd do this (pure-ftpd -w) as standard on boot.
Please help what do i need to do?
(by the way ubuntu has helped me make a kick-*** HTPC so i'm in love )
navigated to the file you quoted and opened it up, now I don't know where to put the command in the code below:
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all
# Default-Start: 2 3 4 5
# Short-Description: Run /etc/rc.local if it exist
### END INIT INFO
if [ -x /etc/rc.local ]; then
[ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
[ "$VERBOSE" != no ] && log_end_msg $ES
case "$1" in
echo "Error: argument '$1' not supported" >&2
echo "Usage: $0 start|stop" >&2