Powering Down a Unix Box

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Powering Down a Unix Box
# 1  
Old 07-23-2001
Question Powering Down a Unix Box

I need to totally power down my UNIX box, I think the script is

shutdown -y -i5 -g0

I know -i6 is for a clean reboot but I can't remember if -i5 is the power down script.....
Can anyone tell me if this is correct.
# 2  
Old 07-23-2001

if you have a sun solaris then you are right. On Solaris you can shutdown either with -i 0 or with -i 5, where -i 5 power downs the
whole system ( depends on the hardware I think, saw that it didn't work each time ).

On HPUX or AIX you have to use shutdown -h instead, because they don't have the -i parameter in the shutdown command.

Maybe you have a look into the man-pages for shutdown and init on your system ( If you see some strange things on the shutdown-manpage try "man 1M shutdown" ... there is a manpage for a systemcall in section 2 )
# 3  
Old 07-23-2001
Tools Thanks

I'm 99.9% sure it's init 5 but it's always good to get confirmation from somebody else....
# 4  
Old 07-23-2001
When we do a system reset on Redhat we use :

init 6 - Power down and restart
init 0 - Power down and stop

hope this helps..
# 5  
Old 07-23-2001

In SOlaris
init 6 - power down and restart
init 5 - downs the system don't even have to give power-off which needs to be given when you give init 0
# 6  
Old 07-24-2001
Hammer & Screwdriver thanks

thanks for all the help...Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Transferring the file from one UNIX box to another UNIX box

Hi Folks, I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials) xxx -->username yyy -->password and another unix box name is RRR -->username TTT -->password NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies

2. Solaris

Issue with box not powering on

Hi, I'm having an issue with a SunFire X4140 with it not powering on. I just want to see if anyone has any ideas on what is causing this before I give up and put it down to hardware failure. I upgraded the iLOM firmware to version 3.0.37a. The following are my actions after the firmware upgrade.... (3 Replies)
Discussion started by: Chains
3 Replies

3. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

4. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

5. Shell Programming and Scripting

how to compare all files in one unix box has been to copied to another unix box

Hi our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies

6. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

7. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

8. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

9. UNIX for Advanced & Expert Users

How to FTP a file generated at UNIX Box to NT Box

Hi all, I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine. how can i do that and the application currently upon which i am working is a JAVA based application. I need your help. regards Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies

10. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
Login or Register to Ask a Question