04-30-2012
Popup needed while reboot - for confirmation
Hi all,
I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message[it can be just a message in terminal itself - No need of popup].. Do you want to do so..and so.
How can i make this possible ?
.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to display a popup message to my clients when they connect to my samba share explaining certain file restricitions and maintenance instructions. How do I go about this method? Right now I'm sharing linux with mac clients and pc's, but can only display a message with my mac clients. ... (4 Replies)
Discussion started by: benzo
4 Replies
2. Solaris
Does anyone know how to create a popup window in solaris 8 and later?
I want to create and load a popup window when a user logon to a solaris machine and inform the user about some environment changes we have done.
Can this easily be done? And if soo how?
/Tony (0 Replies)
Discussion started by: tonlu
0 Replies
3. UNIX for Dummies Questions & Answers
Hi guys, I'm new to these forums. I'm more of a Windows guy, but I work at an electronics manufacture company that uses Solaris 10 extensively. We have Sunfire v480 servers set up to do system level testing. Everything is networked so you telnet into any server from any computer in the facility.... (1 Reply)
Discussion started by: Daniel.a
1 Replies
4. Cybersecurity
Hi,
Sorry if this is in the wrong forum.
Anyway help I would appreciate.
How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it).
What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies
5. Shell Programming and Scripting
file:///C:/DOCUME%7E1/eelavazh/LOCALS%7E1/Temp/moz-screenshot-1.jpgHI,,
I am new to the shell scripting and trying to be adopted soon...Can u please suggest me how do we populate a message when the following condition fails......
Thanks and Regards,
Ela
success250=`grep -c... (0 Replies)
Discussion started by: elavv
0 Replies
6. Shell Programming and Scripting
Hi,
I need confirmation whether the same functionality exists when running the sql's.
For ex. let us consider there exists a sql file with name june.When running in sql mode does:
@june.sql and start june.sql does the same functionality.
Someone help me.
Thanks
Ashok. (1 Reply)
Discussion started by: Ashok_oct22
1 Replies
7. Shell Programming and Scripting
Hi,
I work for Xerox.
As a new guy, I was recently pranked by the resident Solaris guru.:cool:
This is a celebrated event. I must now prank back in an equally flawless fashion.
I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Discussion started by: orchus
1 Replies
8. Shell Programming and Scripting
from one script invoke another script will need to do double confirmation like: 'y' and 'y'
exp:
echo 'y' | /a/b/c.sh
only input 1 'y' in the c.sh, but the c.sh required 2 'y' (twice confirmation)
is there anyway get resolve this issue?
please help (2 Replies)
Discussion started by: kinx
2 Replies
9. Shell Programming and Scripting
Hi All,
While am deleting a file in unix by using the command rm it's deleting the file directly
IT's have to ask the user while deleting like
do you want to delete filename y or N ?
Kindly help on this.
Thanks
Thelak (2 Replies)
Discussion started by: thelakbe
2 Replies
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 208 HALT(8)