shutdown question from command line


 
Thread Tools Search this Thread
Operating Systems Solaris shutdown question from command line
# 1  
Old 10-17-2006
shutdown question from command line

solaris 10

logged in as root to command line...want to shut the system down....could not do this....when i chose shutdown the system seemed to squawk at me saying i'd lose whatever i was working on would be lost unless i logged out...after proceeding through this it took me to the gui log in screen...if i logged out of the session i just went back to the login...is there a way to shut the computer down from the command line? thanks.
# 2  
Old 10-17-2006
init 5
or
shutdown -i5 -g0 -y
# 3  
Old 10-17-2006
You should wait it for kill process first when it back to login screen you don't be anything , Wait a moment after that it should be shutdown automatic Smilie
# 4  
Old 10-17-2006
PS: Before you wait it moment you must use init5 or shutdown -i5 -g0 -y first Smilie
# 5  
Old 10-18-2006
thanks folks.....worked like a champ...i can see where you have to conclude all processes first before shutting down...
# 6  
Old 10-19-2006
Concept of solaris when it startup and shutting down

when it start it will start daemon and process by order at /etc/rcS.d , /etc/rc1.d , /etc/rc2.d /etc/rc3.d ans when it shutdown it will
invert order 3->2->1->S

In that directory consist os

Kxxx and Sxxx

S = start ( system will run it automatically when it boot up )
K = kill ( system will run it automatically when it shutdown)

Cheers,

Sorry for my english
# 7  
Old 10-19-2006
gaosutlor,

your english is fine. far better than i could do in whatever language is native to you...cheers.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

A question about Subversion and commit from the command line

Hey guys, so I want to start using the terminal when I do thinks like update, commit and whatnot. I am use to using kdesvn which is a GUI that helps me with subversion. However, kdesvn does not seem to play well on 18.04 and regardless I am trying to move away from GUI's in general. I want to... (1 Reply)
Discussion started by: Circuits
1 Replies

2. UNIX for Beginners Questions & Answers

Question on bash command line

OS : RHEL / Oracle Linux 6.8 In bash shell, how can I replace a character under the cursor with another character ? In the below example , after I typed the following line, I realized that I meant 7013 and not 2013. So I move the cursor to the left and keep it on top of 2 (of 2013) and I want... (7 Replies)
Discussion started by: kraljic
7 Replies

3. UNIX for Beginners Questions & Answers

Basic Linux command line question

:D:D:D These are list of command i typed on opensuse terminal and evolve lots of doubt around ,that i can't answer. COMMAND 1 linux-xavv:/ # cd COMMAND 2 linux-xavv:~ # Does above command 1 and command two with red labelled sign make different meaning or same . 1 linux-xavv:/... (1 Reply)
Discussion started by: lobsang
1 Replies

4. UNIX for Dummies Questions & Answers

New to Unix command line and have a question about the "sort" command

I am going through the Unix Made Easy second edition book by John Muster. So far it's been very informative and I can tell it may be a bit out of date. In one of the exercises it talks about the "sort" command and using it to sort column's of data etc. The "sort" command has changed a bit and... (1 Reply)
Discussion started by: budfoxcat
1 Replies

5. BSD

Question: OpenBSD command line for checking list of library used by daemon

Hi All, I would like to ask what is the command line on OpenBSD which able to be used to check the list of library which used by specific daemon? For example, I would like to check what are the libraries which are used by ftpd. Thank you in advance. Regards, Stefan (2 Replies)
Discussion started by: lcxpics
2 Replies

6. UNIX for Dummies Questions & Answers

Unix command line question

I'm new to Unix and I'm looking for some assistance. We have 20 different accounts we must login to every day. Logging in has become quite the chore and most nights, we have to log out. I'm looking for a way to simply copy and paste the commands into each window to make things easier. I have been... (2 Replies)
Discussion started by: Judo_Bear
2 Replies

7. AIX

Shutdown command

Hi, is there a difference between shutdown -Fand shutdown -h now? (3 Replies)
Discussion started by: x_adm
3 Replies

8. UNIX for Advanced & Expert Users

A question about kernel module and system power-shutdown

Dear all, I've just installed a Vanilla kernel (last stable version downloaded from www.kernel.org) as an exercice in order to better understand how to compile linux kernel. I loaded the .config file of the current kernel (Redhat kernel) in the menuconfig in order to restore all already... (0 Replies)
Discussion started by: dariyoosh
0 Replies

9. AIX

shutdown command

Hi, After issuing shutdown -F or shutdown -F now my server is getting restarted. Any Idea? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

10. Solaris

shutdown question

Hi is shutdown and init 0 are same command in solaris? (2 Replies)
Discussion started by: mokkan
2 Replies
Login or Register to Ask a Question