Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
What's the difference??
Results 1 to 3 of 3

Thread: What's the difference??

Hybrid View

  1. #1

    What's the difference??

    I'm quite new to linux and i notice that for the same application(iptables)...the commands are quite different in ubuntu and fedora.....so what's the difference here???
    (FOR e.g service iptables start doesn't do anything in ubuntu)

    THanks
    SRT

  2. #2
    Actually, the difference has to do with the way the services/daemons are started and not with the application/service itself, because the 'service' command is a script that points to the /etc/init.d/ directory that contains a number of start/stop scripts for various services.
    i.e. The commands below do the same function:

    /etc/init.d/iptables start
    service iptables start

    I find the service command easier to use as it's shorter , but it's not available in all the distros. Anyway you can just create it in the /sbin directory.

    You might want to check the following howto, that mentions about it:
    http://www.linuxhomenetworking.com/w...x_Boot_Process

    Once you understand this process you can also search about the 'SysV-style' and 'BSD-style' init..

    Have fun and good luck!

  3. #3
    Thanks!!

    Srt

Similar Threads

  1. LOgical difference between LAN & WAN
    By saswata in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 08-10-2007, 09:58 AM
  2. Difference between these two commands
    By tech291083 in forum Redhat / Fedora
    Replies: 2
    Last Post: 05-15-2007, 10:02 AM
  3. Difference in UPS VAs?
    By Compunuts in forum General Chat
    Replies: 2
    Last Post: 11-10-2005, 05:32 AM
  4. The Linux Difference
    By beezlebubsbum in forum General Chat
    Replies: 13
    Last Post: 07-28-2004, 09:48 PM
  5. Difference in programming??
    By in forum Programming
    Replies: 11
    Last Post: 07-04-2003, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •