? Yes, your posted output of this command looks strange.
Please post the output of:
What does that say.
I would also add that runlevel 5 in some distributions tells init to shutdown (in an orderly manner) AND power off (if the hardware supports power off).
Runlevel 0 will shutdown and halt the system leaving power on.
Hi,
Is there a limit to the number of symbolic links you can have?
I tried to vi the symbolic link relating to a file and got the following error:
"filename" Too many levels of symbolic links
There is only one symbolic link to one file in this case, but there are >2000 other links to... (2 Replies)
I have a problem, i dont know if its a normal behaviour or not, i can go to a lower init level, but i cant go to a higher one again, for instance i can run the command init 2 while im at init 3 and when i do who -r i find myself go down to 2 but if i type init 3 and wait im still finding myself in... (1 Reply)
Hi,
Could somebody throw some light on the below queries:
- For a run-level X, the S* scripts are executed when coming here from X-n run-level. The K* scripts are executed when coming to X runlevel from X+n runlevel.
- Does reaching to runlevel X from X-3 executes K* scritps from X-2 & X-1... (4 Replies)
Hi guys,
I know I'm missing something simple here.
We have about 500 zipped files in a directory which contain more zip files and within those I need to find a file without unzipping everything.
I know I can use zipinfo which I'm trying to create a for loop to go through the files and... (4 Replies)
Hello,
I have a simple question because I can not find the information at oracle.com
I want to buy support for OS Solaris and Servers hardware.
I need information what are the levels of support and how much they cost?
I need a help.
Have a nice day (3 Replies)
Hello,
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
-rw-r--r-- 1 root root 1966 May 19... (2 Replies)
Hi All,
Currently our application is running on the server having AIX 5.3 OS.
What we intend to do is to run a shell script owned by another user and needs to be run as that particular user.
I was trying to create a shell script using the su command before running the actual script (which... (4 Replies)
Hi Guys,
I need to change the following script ( which is good for Linux) for Solris 11
#start oracle
start on runlevel
stop on runlevel
What it should be for Solrais 11.
Thanks for your help.
Regards
Terry (2 Replies)
Discussion started by: terrykhatri531
2 Replies
LEARN ABOUT CENTOS
reboot
HALT(8) halt HALT(8)NAME
halt, poweroff, reboot - Halt, power-off or reboot the machine
SYNOPSIS
halt [OPTIONS...]
poweroff [OPTIONS...]
reboot [OPTIONS...]
DESCRIPTION
halt, poweroff, reboot may be used to halt, power-off or reboot the machine.
OPTIONS
The following options are understood:
--help
Prints a short help text and exits.
--halt
Halt the machine, regardless of which one of the three commands is invoked.
-p, --poweroff
Power-off the machine, regardless of which one of the three commands is invoked.
--reboot
Reboot the machine, regardless of which one of the three commands is invoked.
-f, --force
Force immediate halt, power-off, reboot. Do not contact the init system.
-w, --wtmp-only
Only write wtmp shutdown entry, do not actually halt, power-off, reboot.
-d, --no-wtmp
Do not write wtmp shutdown entry.
--no-wall
Do not send wall message before halt, power-off, reboot.
EXIT STATUS
On success, 0 is returned, a non-zero failure code otherwise.
NOTES
These are legacy commands available for compatibility only.
SEE ALSO systemd(1), systemctl(1), shutdown(8), wall(1)systemd 208HALT(8)