Tagged Questions
2
votes
0answers
36 views
Why do CLI and GUI methods for shutting down have different security measures?
CLI option for shutting down the system is
sudo shutdown -h now
This requires the user to give the administrator password, whereas shutting down via GUI doesn't require any password. Why does GUI ...
0
votes
0answers
81 views
Execute BASH script on shutdown
I have a KVM switch (Trendnet TK 409) that helps me switch between my Ubuntu laptop and Linux computer. The switch use a hotkey for switching (numlock+numlock).
Unfortunatly, that only works on ...
0
votes
1answer
57 views
Computer shut down during resizing of drive, stuck!
Basically I was trying to resize my drive since I was low on disk space for the Ubuntu OS using a WUBI of Ubuntu 12.10(I believe that or 12.04). But my computer shut down in the process. Now when I ...
3
votes
1answer
52 views
Gracefully close appications on shutdown
How to automatically close an application on shutdown (graceful close, not kill)?
I try to call wmctrl -c "App" in powerbtn.sh, but it does not work. The same wmctrl command works perfectly when ...
8
votes
3answers
400 views
`shutdown -r now` command completely shutting down instead of restarting
Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard .
Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
1
vote
1answer
759 views
Transmission shutdown script for multiple torrents?
I have written a shutdown script for transmission. Transmission calls the script after a torrent download finishes. The script runs perfectly on my machine (Ubuntu 11.04 & 12.04).
#!/bin/bash
...
11
votes
2answers
8k views
How do I restart /shutdown from a terminal?
How to shutdown the Ubuntu installed system and restart it by using terminal ?
6
votes
2answers
3k views
Shutdown from terminal without entering password?
I have desktop edition of Ubuntu.
I like the Terminal so that that I prefer to shutdown my computer with the shutdown command.
However when I type shutdown now it prompts me to enter my password.Is ...
2
votes
1answer
679 views
problem with halt command to power off
I use Ubuntu 11.10. My problem is that I cannot power off the computer with sudo halt command. Ubuntu shutting down screen comes and stops at there (something like the pic below). I waited about 15 ...
5
votes
5answers
218 views
How can I add to a already running process an additional 'shutdown' command?
On a regular basis I forget to add && shutdown -h now to a long-running process. Is there any way to add a shutdown -h now command after the first command was invoked? It is not intended to ...
3
votes
3answers
809 views
How to shutdown/restart/suspend … without authentication or confirmation?
I am looking for a terminal command to shutdown without having to write down my password and without installing any extra programs.
As when clicking the shutdown button, why it is not asking me for ...
12
votes
3answers
14k views
What is the proper terminal-way to shutdown?
I was trying to shutdown my PC through SSH. I executed
sudo shutdown now
The user was logged-out and Ubuntu starting turning off, but it froze at the last screen with the Ubuntu logo and the loading ...
8
votes
2answers
2k views
What is the command to open the shutdown dialog?
I would like to use a gesture to shutdown/restart my computer and I need to know the command that launches the shutdown dialog:
13
votes
4answers
627 views
Why does nothing happen when I click “Shutdown” from the “shutdown…” dialog?
I've been through all questions with the 'Shutdown' tag on this site - but this is different.
I choose "Shutdown..." from the session menu.
I then click "Shutdown" on the dialog that appears.
...
3
votes
1answer
339 views
7
votes
9answers
5k views
How to shut down the computer after a task has been completed?
I usually start a download before I go to school.
Which command should I use to automatically make the necessary saves and turn off the computer after a particular task has been completed?
(Say, ...
7
votes
3answers
4k views
How can I safely shutdown/reboot/logout KDE from the command line?
I am not talking about shutdown and reboot commands. I want to initiate the same routine from command line that would be performed if I would press the logout/reboot/shutdown button inside the KDE ...