I set this script to run when i click the appropriate Openbox menu item:
Code:
#!/bin/sh |
To ALL
If my 40'th post is abuse due to over size issue. Then report the following thread also as abuse. I don't know who is that brilliant reported my post as abuse. :) Any how my heart full congrats for spoiling my reputation. Moderator/Admin: If you thing the bigger size font is abuse, then try to disable the font size. If you are unable to do this, don't believe your self as a admin. :) reg Arun "Think twice before spoiling others reputation. It also doesn't means we should not report. We should report if that is only ABUSE " |
Relax prodev, your reputation is far from ruined. :)
|
Quote:
Well you are correct because of your understanding. While suggest some thing to others, suggest that in a standard way. You can suggest them to use init 0 also. What would happen if oracle or any production DB is running and you are using init 0. You would be fired from the company. BTW: Shouting doesn't make it so! you understood that the lower case words mean shouting. NOW THIS IS SHOUTING. Note: Again don't consider this as rude :) Reg, :) |
"Shutdown -h now" for 2 main reasons:
1- It works on every single Distro out-of-box 2- i can replace "now" for a timed shutdown and leave my computer downloading/processing stuff and forget about it I like to leave my computer on overnight or when im not at home downloading/processing stuff (no time wasted during my "active" hours) |
I remember using:
Code:
sync Code:
shutdown -h now |
Hi,
Quote:
Quote:
Quote:
Quote:
|
Quote:
The concept is not static to admit myself and the information which I gave is not incorrect its 100% correct. Because I itself using those commands for 1600+ Linux server. The command is suggested by a famous developer(co-author of Perl and mainframe) he is a legend using Unix from his childhood and Linux from the age <output truncated> I didn't mentioned that "init 0" is a wrong command. I clearly mentioned that scenarios will define to use what command in situations. You didn't understand that lol. If I admit my self "shutdown -h now" command is wrong. What is going to happen? are you going to suggest Linux users not to use shutdown command !!!!. Always think practically. I'm ready to admit myself if I committed a mistake. I don't think I committed a mistake. If you feel that, then you start a poll. Any how all the best and one more thing, never annoy others, think of it twice and try to make them understand about what your brain is thinking. From there you will win by exploring your idea. Not all human beings in the world is thing in the same way. That is the great invention of god. :) |
Dear Guru druuna ,
You didn't vote in this poll didn't you ? |
Quote:
|
@prodev05:
Quote:
Suggesting to use shutdown -h now is (half) good advise. Half? you ask? The -h now part isn't, you should give users the time to save their work, especially in a test/acceptance/production environment which has probably more then one user connected to the box that needs to be shut-down. The reasons you gave for not using halt, init 0 (twice) and poweroff are BS (I already explained why in my previous posts). Quote:
Quote:
post #40: init 0 : This command is logically to tell the Operating environment to switch the runlevel. This will kill all the process with out wait. post #64: You can suggest them to use init 0 also. What would happen if oracle or any production DB is running and you are using init 0. You would be fired from the company. Quote:
Quote:
Quote:
@Kenny_Strawn (and all others in general): Sorry for sidetracking this thread, I'll refrain from giving any more comments (I.e: I'm done here! ;) ). |
Good catch with colorful fonts. Yes I'm wrong :hattip: lol....
|
I use a 2X4....
"When I say whoa, I mean WHOA!!" Otherwise, nothing fancy...I click the Indicator Applet (Ubuntu) and select either "Shutdown" or "Restart." If I'm in terminal mode, I hit Ctrl/Alt/Delete and let Linux do its thing. |
sudo shutdown -r now
Our servers rarely, if ever, need to be down indefinitely.....that would kinda defeat the purpose of being a server, but I digress. |
I've seen all sort of reasons why one method is safer than another, but these discussions are mostly meaningless because it really depends on the distro. On some distros, they are all links to the same actual command (as on Slackware). I type "halt" -- it's shorter!
[EDIT]"...but these discussions are mostly meaningless..." Not saying this discussion is meaningless (knowing your system, giving users notice the server will shut down, etc). I mean generally, posts (anywhere, anytime) which claim one command is better than another because one does safe shutdown and another does not. My comment was not referring to anything in this thread because I hadn't even read it yet, I just posted in response to the poll.[/EDIT] |
All times are GMT -5. The time now is 09:58 AM. |