Results 1 to 2 of 2

Thread: how to save in terminal

  1. #1
    xylon89del NNTP User

    Default how to save in terminal

    ==================================================
    <For a distribution with a /sbin/insserv command>
    Log in as 'root', add the following comments to the third line in
    /etc/init.d/ccpd, and execute the 'insserv ccpd' command.

    ### BEGIN INIT INFO
    # Provides: ccpd
    # Required-Start: $local_fs $remote_fs $syslog $network $named
    # Should-Start: $ALL
    # Required-Stop: $syslog $remote_fs
    # Default-Start: 3 5
    # Default-Stop: 0 1 2 6
    # Description: Start Canon Printer Daemon for CUPS
    ### END INIT INFO
    ================================================================
    i wanna do the above procedure.
    after i log in as root,
    i use the command vi /etc/init.d/ccpd
    then ,after that i add in the comments
    after that , wat should i do to save it?

  2. #2
    Join Date
    Jun 2008
    Location
    PHX
    Posts
    481

    Default Re: how to save in terminal

    :w (save), :q (quit), :q! (quit w/o saving)
    :h (help)
    <>---><^>

Posting Permissions

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