Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    May 2012
    Location
    127.0.0.1
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    How to Shutdown your Linux Machine from Terminal

    Go into .bashrc and add this:

    Code:
    quit ()
            {
                poweroff -d
             }
    Then in Terminal, you can type:

    Code:
    sudo quit




  2. #2
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    you can use the commands listed here
    tuxthink.blogspot.com/2012/01/different-commands-to-shutdown-or.html

  3. #3
    Join Date
    May 2012
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I don't understand why you complicate your life with script.
    su
    halt
    or
    su
    shutdown -h now

  4. #4
    Join Date
    May 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    very complicated this script and what is this dude.

  5. #5
    Join Date
    Nov 2011
    Posts
    207
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    2
    I usually use sudo shutdown -h now if I can't shut the machine down with the GUI. I don't see why we need a quick command for this.

  6. #6
    Join Date
    Oct 2011
    Location
    Dublin, PA
    Posts
    381
    Thanks
    33
    Thanked 18 Times in 16 Posts
    Rep Power
    10
    It's best to memorize commands and use programs that you can use on all linux machines.. that way if you're on someone else's machine - or a machine you've never been on.. you can get whatever it is you want done. Also, learn everything from command line.

    shutdown: shutdown -r now

    editor: vi / vim

    (i'll never install emacs on the linux boxes at work.. at least once/week i hear "aww.. isn't emacs on here?")

  7. #7
    Join Date
    May 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    An error has occurred D! You must have 5 posts in order to post links. Your current post count is 4.
    WHY WHY WHY!!!!!!!!!!!!!!!!!!!!!!!!

  8. #8
    Join Date
    May 2012
    Location
    On a flat earth
    Posts
    127
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Rep Power
    1
    Quote Originally Posted by designer View Post
    An error has occurred D! You must have 5 posts in order to post links. Your current post count is 4.
    WHY WHY WHY!!!!!!!!!!!!!!!!!!!!!!!!
    This is to try to keep out spambots. They love to post links.

  9. #9
    Join Date
    Feb 2012
    Location
    UTC -8 'tween the mtns, N of the Columbia R
    Posts
    202
    Thanks
    4
    Thanked 16 Times in 15 Posts
    Rep Power
    2
    why not
    PHP Code:
    init 0 
    ?

  10. #10
    Join Date
    May 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thank you

    But I really want to know how make a spam, that's seem very interesting, ah?!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 08-22-2012, 04:20 AM
  2. Backing up a Linux machine using to a Windows PC
    By morhsn in forum General Linux
    Replies: 1
    Last Post: 04-21-2012, 09:50 PM
  3. Email on shutdown and restart (Linux)
    By Rob in forum Linux News
    Replies: 0
    Last Post: 04-04-2012, 07:11 PM
  4. Replies: 1
    Last Post: 02-17-2012, 03:44 PM
  5. How to shutdown the system after file is downloaded?
    By carbon333 in forum Command Line
    Replies: 0
    Last Post: 02-16-2012, 04:22 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
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,537
Threads: 3,911
Posts: 9,421
Top Poster: Fred (1,486)
Welcome to our newest member, Richelles

» Links



Powered by vBadvanced CMPS