General :: Preferred Command For Shutting Down The System?
Nov 30, 2010What is your preferred command for shutting down the system? Please explain your votes.
View 14 RepliesWhat is your preferred command for shutting down the system? Please explain your votes.
View 14 RepliesI am accessing a linux server remotely from my putty. I started the server and now I want to close the command line. when I do cntr+c or cntr+z it kills my server aswell. how will I close my terminal without closing my server? I tried cntr +d but it is not doing anything
View 2 Replies View RelatedInstalling Ubuntu on fresh hard drives, need a SAMBA share on the second drive. Is there a file system that I should use (ext4, ext3, NTFS, etc.)?I will be accessing the share with:- Ubuntu 10.04 (I have one older one but that'll be upgraded to this version)- Windows XP, Vista, and 7The entire second drive will be a big share, so the I'll be formatting the entire drive. Can't seem to find any information on supported or recommended file systems.
View 3 Replies View RelatedI have problem with my reboot command.
sudo reboot and sudo halt -f now don't work (they don't reboot)
but sudo halt -p is shutting down my PC.
I want my server to automatically shutdown at 23:59 and startup at 8:00. The startup is handled through by bios but the shutdown is to be managed through cron. I thought I had this working, I actually swear I had it working because I thought the uptime command showed the appropriate uptime. I happened to be up and was streaming a movie from my server when at the time it should've shutdown it actually just restarted. If I run the shutdown -h now command by itself it works well but the scheduled command just restarts the server. Here is the what is shown when I enter crontab -e.
View 9 Replies View RelatedI recently had an OS system crash..WIndows XP. Purchased a new hard drive and installed Ubuntu 10.04. Everything installed as expected, however my CPU fan seems to be louder than usual. I did clean the fan and heat sink, but still running very loudly or fast I guess you could say. Also sometimes the PC shuts down when I try to open FireFox. Any ideas on what could be happening. This is an older machine using an Intel Celeron processor. Not sure of the speed, but I could look at the bios if that is needed.
View 9 Replies View RelatedI have a strange problem on my system. When I turn off printer, system hang. Gdm/X exit and I can see a terminal screen with a lot of info (but I can not capture it, except taking a photo). I must press reset button. It's not all times, but at least 50% I shutdown printer. I was looking logs and I can not see any relevant. Maybe this (copy some sections of /var/log/messages, remove other not revelant):
Jul 7 19:43:34 dcr64 kernel: [341172.052076] usb 1-8: new high speed USB device number 7 using ehci_hcd
Jul 7 19:43:34 dcr64 kernel: [341172.185255] usb 1-8: New USB device found, idVendor=03f0, idProduct=4412
Jul 7 19:43:34 dcr64 kernel: [341172.185260] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Code]...
Sometimes I turn on printer to get a photocopy and turn off later, and system hand, so, it's not necesary to print or scan to get this error.
"I get message ubuntu System policy prevents shutting down" when i try to turn off ubuntu ( i get similar message when i try to restart too )
Am the only user I have installed hsqldb-server ( and mb he has something to do with it )
Do active localhost server instances automatically gracefully shutdown upon system shut down?
View 1 Replies View RelatedI'm using Gnome and I'd like to still have the ability to reboot/shutdown from one particular account as well as root. How would I modify the chmod command to add this ability?Also, I have a few users who just will hold the power button in to shutdown the machine. How can I keep them from doing this?// Pruned from the vintage 2007 Prevent a non-root user from shutting down, rebooting or suspend the system thread. Please create new threads instead of resurrecting ancient ones.
View 2 Replies View RelatedI am looking for a 802.11n wireless card that Linux supports that can be dropped into AP/master mode.
I would prefer PCI, but USB would be tolerable, just not preferred.
So I noticed while using guided partitioning that most distro installers will attempt to create a logical partition for the root file system besides the swap and /boot on the HDD. Why is this the case? Why does the partition for root file system have to be logical and not primary?
View 10 Replies View Relatedok well i installed Ubuntu 10.10 like 2 weeks ago on my computer and I have Spent like A week and a half trying to shut down the X Server. I am trying to install an nvidia driver to my computer... all of the option and ways to do it would be helpfull... any more information needed i will give to you (NVIDIA-Linux-x86-260.19.44.run)
View 3 Replies View RelatedI have some heavy, long processes running on remote Linux machines. I use my laptop to SSH to these machine and run the processes from my couch.
BUT, when I want to shutdown my laptop, I am in trouble since the remote processes are killed.
I did my research and found out that "screen" is a great solution for me, it is! (As long as I don't SHUTDOWN my laptop). Isn't there a way to "persist" the "screen" sessions so I can shut it down and then re-attach to a session?
I am on an Aspire 5315 and i have Backtrack 5,32bit,Gnome (ubuntu)installed with Vista as a dual boot on hdd.I am currently having problem with my laptop overheating and shutting down. In Vista the software Epower controls the fan but in linux I have to install acer_fancontrol and I have installed it as per instructions. It works fine till i reboot and then i get a frozen screen with the BT5 background and in terminal i get 1gear and goes on till 3rdgear without me being able to use BT5.
View 2 Replies View RelatedI'm using Gnome 2.30.2 with Ubuntu 10.4 would like to shut down X Windows properly. Using sudo init 3 from console 1 or a terminal on the Gnome desktop results nothing. There are a bunch of ways of doing accomplishing this that I've seen, but the most recommended methods each cause the same errors. The methods that I've used are sudo service gdm stop, sudo stop gdm && sudo pkill X, and sudo /etc/init.d/gdm stop. After these commands are run I receive the following message: gdm stop/waiting.
Then I switch to console 7 & notice that the screen is frozen & has the following information:
There is a blinking cursor below this message & the terminal does not respond to any command including Ctrl z.
These are the same messages that are normally quickly displayed when linux normally boots.
I disabled the battery power option in & removed other unnecessary startup processes from System, Preferences, Startup Applications. I've tried running the gdm stop commands from terminals 1 & 2 as well as consoles in X Windows & it produces the same results. For some reason though, the gdm commands do work when I used the restart option.
When I shut down my computer I want to show some pending tasks that I have to do before leaving the office...
I did a local application to manage those tasks, so basically I just want to run a command, and shut down after I kill the app executed.
I have already tried with these options:
/etc/gdm/PostSession/Default --> this works only when I select LogOut option instead Shutdown. /etc/rc0.d/K01mycustomscript --> execute script after X is killed $HOME/.bash_logout --> This looks like does nothing. ./app-to-run && sudo shutdown -h now --> Don't like it for 2 reasons, prompts for sudo password, and can't use my laptop shutdown button.
I am using Ubuntu 10.04.
I dual boot Ubuntu and Windows and sometimes I just want to switch between the partitions without loosing the state of the OS I was currently working with. Currently to do that I just hibernate that OS and, when the computer turns off, I restart it and select the correct partition.
I do not really want to have to press the on button again every time I want to switch between partitions. I figure that there must be a way to make the hibernate action restart instead of shutting down.
How do I make the hibernate action restart instead of shutting down on:
Windows, or Ubuntu
P.S. It is more important to me that I can do this in Ubuntu than Windows (because of the way I use the partitions) therefore if one answer says the Ubuntu way and the other says the Windows way then I will mark the Ubuntu one as the answer and give the Windows one an upvote and a big thankyou.
Im running a Squid with transparent Dansguardian. It seems i cant shut down Dansguardian or else i will get an error message from firefox telling me it cant establish a connection with the proxy server.
View 4 Replies View RelatedJust started with Linux and am eager to increase my knowledge in Linux. My question is, Are Linux command same in all distributions?
View 2 Replies View RelatedI'm looking for a specific command,if it exist... i want to login from my server to another Linux server,but the question is: can i do it in a one line command for ex:
usually you type: ssh "user"@10.1.1.1 and then the password,but I'm looking for a command in one line a fake ex: ssh user@10.1.1.1 -p "password" something like that.
I don't know if anyone of you understand what do i want to say .
I want to index my openLDAP database without shutting down or stopping by slapd. Is there a way to do that.
I also have master - slave architecture setuped for the replication.
I have just installed Ubuntu 10.04 and it works fine. Next, I attempted to install Apache 2.2.16 server on the machine. I was able to get Apache installed but I cant't get it to start. The command I used to get it to start is "apachectl -k start" and got the response "command not found". Then I used the absolute path which is "/home/Administrator/Downloads/apache/bin/apachectl -k start" and got the response"httpd: could not reliably determine ther server's fully qualified domain name, using 127.0.1.1 for ServerName(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80.no listening to sockets available, shutting down". Please advise me on what to do. My eyes hurt from looking at the screen for so long trying different options and reading almost all the apache install instructions that exists. Just ready to have it up and running.
View 7 Replies View RelatedI'm going to try Firefox 4 in Fedora 13. I would like to do it neatly, meaning it appears as an option in the "System" -> "Preferences" -> "Preferred Applications" settings for all users as "Firefox 4". Moreover, I'd like it not to ever ask to make itself the default browser when it's first run.
View 1 Replies View RelatedI'm writing a shell script to check the I/O activity of a Linux box and if the server is quiet for a certain long time, the script should let the server go to sleep. But, after some Google searching, I didn't find a answer yet. Is there a shell script command to put a Linux box to sleep?
View 3 Replies View RelatedI love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works.
Knowing that Mac is built on Unix makes me wonder if it's the sweet spot between them. But I wonder: how similar is the Mac command line to Linux's bash? Could I pick right up with using vim and bash scripting and git, etc? Would common commands like changing directories be different? Does anybody know an online "compare and contrast" resource?
Is there a something similar to DTerm available for Linux?
View 2 Replies View RelatedI install Vmware in winxp sp3, then install centos 5.5-i386 release 2 in Vmware. I want to type some command like yum install ..., but where to open system command? I searched the menu applications places system on the top of the desktop, but I am not sure which one is.
View 2 Replies View RelatedI use the time command to measure the wall-clock time of a GPU implementation of an algorithm. When I time the CPU execution of the algorithm time returns a negligible sys time. However, when I time the GPU execution time returns a sys time that is around 20-30% of the total time. If that time was comparable with the negligible sys time of the CPU I would achieve a speedup of a few times higher.
I suspect that the increased sys time is because of the GPU usage, which, I assume, takes some time for the OS because of the drivers etc. I am not sure though, and it is important to figure this out because it will improve my results a lot if I can ignore the sys time and use just the user time for speedup calculations. Also, is there a way to see, in detail, what is the sys running and takes so much time. I am thinking that I might be able to see if it is the driver indeed that causes this delay.
which command to use to find out system configuration
View 5 Replies View Related