Showing posts with label linux shutdown command. Show all posts
Showing posts with label linux shutdown command. Show all posts

Tuesday, May 21, 2013

When I try to start Ubuntu normally, it goes into a command prompt, rather than the graphical set. Fix?

Q. And when I get to the command prompt, I get a line asking me to log in. If I wait a moment, it will say that "low memory is corrupted on XxxxxxX etc," I go into recovery mode to fix the packages, but it didn't download anything. therefore, not fixing it, I run in the failsafe graphics mode, and it works. I dual boot with Windows 7. How do I fix this?

A. May be something to do with Run Level.

Linux has 7 different run levels (or operating modes):

* rc0.d - System Halted
* rc1.d - Single User Mode
* rc2.d - Single User Mode with Networking
* rc3.d - Multi-User Mode - boot up in text mode
* rc4.d - Not yet Defined
* rc5.d - Multi-User Mode - boot up in X Windows
* rc6.d - Shutdown & Reboot

Each mode has it's own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in - a feature many Linux lovers like to point out that Windows lacks..

chkconfig - will list all the registered services and display thier status at each different run level.

Most of the time when your server boots up it will start in runlevel 3 or 5 depending on what it is set to. This setting can be found in the file /etc/inittab

If you ever want to change what mode your server defaults to on bootup, just edit that file, but NEVER change it to runlevel 6 or 0. This will cause your server to shutdown on bootup or if you set it to runlevel 6 it will continuously reboot. I guess this could make a great prank on a friend's workstation.
RC.D Directory Explanation

In the folder: /etc/rc.d are all the run level folders starting from rc1.d to rc6.d and including init.d

It is in each of these rc#.d folders where the service run settings are kept. If you change directory into /etc/rc.d/rc3.d all the files that start with a capital S are the services that will start at this runlevel. All the files that start with a K are the services that will be killed at that runlevel.

The reason why services that are not supposed to run are still listed is because it is popular to switch a server from one run level to another instead of just booting into the needed run level. That way you can take your server offline (single user mode) and then apply a patch or do a file restore.

Let's take a closer look at these files that are inside the rc#.d folders. Notice that they are symbolic links to the script file located in /etc/rc.d/init.d This makes things very easy. All the commands to start, stop, or reload a service are handled by these scripts. So when a server is to go into a specific run level it can find the correct script and knows whether to start it based on its name and link path.

How to: Schedule my PC to shutdown at a certain time?
Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Saturday, May 11, 2013

How is it I play my windows music in Ubuntu?

Q. I'm a Windows XP user trying to switch to Ubuntu linux for no other reason than to feed my geeky hunger. I don't really play any computer games, so my main concern is how am I supposed to access my gigs of music on my Windows folder from Ubuntu? I only have 2 hard drives (if possible to work on Windows hard drive then great), no jump drives or CDs. Thanks for whatever answers. :)

A. first what type of filesystem on these partitions

look first under places > removable media
if they are there then click on it
it will be mounted to system when you do that
the linux system needs any driver to be attached (mounted ) to it's tree in order to deal with it

if they are not there
then open the terminal (accessories > terminal )
which is a shell emulator (command line interface )
then make the points you want to attach the filesystem to it
"sudo mkdir /media/My1"
where My1 is the name of the mount point to which you will attach your partition
be careful that linux is case sensitive
My_Folder is not thw same as my_folder
then
"sudo mount -t [ntfs,vfat] /dev/sd[a,b..1,2,3..] /media/My1"
you have to choose the filesystem type (vfat or ntfs )
which hard drive sda or sdb
which partition 1,2,3...
if you got an error and the filesystem type is right it will be mostly because of unclean shutdown
if you don't know the dev available
type
"ls /dev/ | grep sd"

good luck

How do I power off / shut down a linux computer?
Q. In windows one simply shuts the computer down and it turns off. How do you do this in linux? So far I have just issued a reboot command and then powered it off after it beeped, but now I want to shut it down remotely. Thank you
How to shutdown now gracefully. Previous power off attempts have not turned off the computer totally.

A. sudo shutdown -hP now

How can I force mount my external HDD in Fedora 10 Linux?
Q. The command line suggested in the error windows doesn't work, and I don't want to have to start Windows just to mount a bloody external. It frustrates me that Linux can't just ignore the fact that there was an unclean shutdown. Windows can handle it, why can't Linux???

A. Could you explain what happens when you try the command line suggested in the error window?
If we knew specifically what the error messages were and the details of what you are trying to do we could help.
If some error messages are ignored and the drive is mounted anyway the problems could become much worse and all data permanently lost.
Good luck



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Saturday, May 4, 2013

How can I force mount my external HDD in Fedora 10 Linux?

Q. The command line suggested in the error windows doesn't work, and I don't want to have to start Windows just to mount a bloody external. It frustrates me that Linux can't just ignore the fact that there was an unclean shutdown. Windows can handle it, why can't Linux???

A. Could you explain what happens when you try the command line suggested in the error window?
If we knew specifically what the error messages were and the details of what you are trying to do we could help.
If some error messages are ignored and the drive is mounted anyway the problems could become much worse and all data permanently lost.
Good luck

How to make mouse work after wrong shutdown in PUPPY linux?
Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/

What is the best Linux OS (Operating System) for nvidia drivers?
Q. I have GeForce 5200 VGA card. But Ubuntu 10.10 is not detecting it. I have to use Linux for many reasons. But I can't use my VGA with Ubuntu. Please Help ME!!!

A. Hit ctrl-alt-f2 to come in to the text mode (your graphic screen will disappear)

log in

Then enter following commands

sudo /etc/init.d/gdm stop
sudo apt-get purge nvidia*
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-173-dev
sudo rm /etc/X11/xorg.conf
sudo nvidia-xconfig
sudo shutdown -r now

Then your pc should restart and tadaa... nvidia driver working



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Wednesday, May 1, 2013

How to: Schedule my PC to shutdown at a certain time?

Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".

Can I delete a file I want to delete using Puppy Linux LIVE CD ?
Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Saturday, April 20, 2013

Can I delete a file I want to delete using Puppy Linux LIVE CD ?

Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?

How is it I play my windows music in Ubuntu?
Q. I'm a Windows XP user trying to switch to Ubuntu linux for no other reason than to feed my geeky hunger. I don't really play any computer games, so my main concern is how am I supposed to access my gigs of music on my Windows folder from Ubuntu? I only have 2 hard drives (if possible to work on Windows hard drive then great), no jump drives or CDs. Thanks for whatever answers. :)

A. first what type of filesystem on these partitions

look first under places > removable media
if they are there then click on it
it will be mounted to system when you do that
the linux system needs any driver to be attached (mounted ) to it's tree in order to deal with it

if they are not there
then open the terminal (accessories > terminal )
which is a shell emulator (command line interface )
then make the points you want to attach the filesystem to it
"sudo mkdir /media/My1"
where My1 is the name of the mount point to which you will attach your partition
be careful that linux is case sensitive
My_Folder is not thw same as my_folder
then
"sudo mount -t [ntfs,vfat] /dev/sd[a,b..1,2,3..] /media/My1"
you have to choose the filesystem type (vfat or ntfs )
which hard drive sda or sdb
which partition 1,2,3...
if you got an error and the filesystem type is right it will be mostly because of unclean shutdown
if you don't know the dev available
type
"ls /dev/ | grep sd"

good luck

How do I power off / shut down a linux computer?
Q. In windows one simply shuts the computer down and it turns off. How do you do this in linux? So far I have just issued a reboot command and then powered it off after it beeped, but now I want to shut it down remotely. Thank you
How to shutdown now gracefully. Previous power off attempts have not turned off the computer totally.

A. sudo shutdown -hP now



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Friday, April 12, 2013

How do I power off / shut down a linux computer?

Q. In windows one simply shuts the computer down and it turns off. How do you do this in linux? So far I have just issued a reboot command and then powered it off after it beeped, but now I want to shut it down remotely. Thank you
How to shutdown now gracefully. Previous power off attempts have not turned off the computer totally.

A. sudo shutdown -hP now

How can I force mount my external HDD in Fedora 10 Linux?
Q. The command line suggested in the error windows doesn't work, and I don't want to have to start Windows just to mount a bloody external. It frustrates me that Linux can't just ignore the fact that there was an unclean shutdown. Windows can handle it, why can't Linux???

A. Could you explain what happens when you try the command line suggested in the error window?
If we knew specifically what the error messages were and the details of what you are trying to do we could help.
If some error messages are ignored and the drive is mounted anyway the problems could become much worse and all data permanently lost.
Good luck

How to make mouse work after wrong shutdown in PUPPY linux?
Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How to make mouse work after wrong shutdown in PUPPY linux?

Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/

What is the best Linux OS (Operating System) for nvidia drivers?
Q. I have GeForce 5200 VGA card. But Ubuntu 10.10 is not detecting it. I have to use Linux for many reasons. But I can't use my VGA with Ubuntu. Please Help ME!!!

A. Hit ctrl-alt-f2 to come in to the text mode (your graphic screen will disappear)

log in

Then enter following commands

sudo /etc/init.d/gdm stop
sudo apt-get purge nvidia*
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-173-dev
sudo rm /etc/X11/xorg.conf
sudo nvidia-xconfig
sudo shutdown -r now

Then your pc should restart and tadaa... nvidia driver working

The right, proper, safe way to turn a Linux (Slackware) machine off?
Q. I noticed it might corrupt the hard disk if I turn it off while it is running a desktop environment. I noticed I must first get out of the desktop environment, and give the command exit and make myself log off, and then it is safe to turn it off. Is that correct?

thanks!!

A. No, to properly shutdown, run the following as root:
/sbin/shutdown -h now

If you wan't to be able to shutdown as a regular user, set the suid bit:
chmod +s /sbin/shutdown

You can also edit /etc/inittab and change the default runlevel to 4, then you will be able to just shutdown from the kde menu.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Wednesday, March 27, 2013

In linux how do I set a time for my computer to shut down?

Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".

Can I delete a file I want to delete using Puppy Linux LIVE CD ?
Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?

How is it I play my windows music in Ubuntu?
Q. I'm a Windows XP user trying to switch to Ubuntu linux for no other reason than to feed my geeky hunger. I don't really play any computer games, so my main concern is how am I supposed to access my gigs of music on my Windows folder from Ubuntu? I only have 2 hard drives (if possible to work on Windows hard drive then great), no jump drives or CDs. Thanks for whatever answers. :)

A. first what type of filesystem on these partitions

look first under places > removable media
if they are there then click on it
it will be mounted to system when you do that
the linux system needs any driver to be attached (mounted ) to it's tree in order to deal with it

if they are not there
then open the terminal (accessories > terminal )
which is a shell emulator (command line interface )
then make the points you want to attach the filesystem to it
"sudo mkdir /media/My1"
where My1 is the name of the mount point to which you will attach your partition
be careful that linux is case sensitive
My_Folder is not thw same as my_folder
then
"sudo mount -t [ntfs,vfat] /dev/sd[a,b..1,2,3..] /media/My1"
you have to choose the filesystem type (vfat or ntfs )
which hard drive sda or sdb
which partition 1,2,3...
if you got an error and the filesystem type is right it will be mostly because of unclean shutdown
if you don't know the dev available
type
"ls /dev/ | grep sd"

good luck



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Wednesday, March 13, 2013

How to: Schedule my PC to shutdown at a certain time?

Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".

Can I delete a file I want to delete using Puppy Linux LIVE CD ?
Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

When I try to start Ubuntu normally, it goes into a command prompt, rather than the graphical set. Fix?

Q. And when I get to the command prompt, I get a line asking me to log in. If I wait a moment, it will say that "low memory is corrupted on XxxxxxX etc," I go into recovery mode to fix the packages, but it didn't download anything. therefore, not fixing it, I run in the failsafe graphics mode, and it works. I dual boot with Windows 7. How do I fix this?

A. May be something to do with Run Level.

Linux has 7 different run levels (or operating modes):

* rc0.d - System Halted
* rc1.d - Single User Mode
* rc2.d - Single User Mode with Networking
* rc3.d - Multi-User Mode - boot up in text mode
* rc4.d - Not yet Defined
* rc5.d - Multi-User Mode - boot up in X Windows
* rc6.d - Shutdown & Reboot

Each mode has it's own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in - a feature many Linux lovers like to point out that Windows lacks..

chkconfig - will list all the registered services and display thier status at each different run level.

Most of the time when your server boots up it will start in runlevel 3 or 5 depending on what it is set to. This setting can be found in the file /etc/inittab

If you ever want to change what mode your server defaults to on bootup, just edit that file, but NEVER change it to runlevel 6 or 0. This will cause your server to shutdown on bootup or if you set it to runlevel 6 it will continuously reboot. I guess this could make a great prank on a friend's workstation.
RC.D Directory Explanation

In the folder: /etc/rc.d are all the run level folders starting from rc1.d to rc6.d and including init.d

It is in each of these rc#.d folders where the service run settings are kept. If you change directory into /etc/rc.d/rc3.d all the files that start with a capital S are the services that will start at this runlevel. All the files that start with a K are the services that will be killed at that runlevel.

The reason why services that are not supposed to run are still listed is because it is popular to switch a server from one run level to another instead of just booting into the needed run level. That way you can take your server offline (single user mode) and then apply a patch or do a file restore.

Let's take a closer look at these files that are inside the rc#.d folders. Notice that they are symbolic links to the script file located in /etc/rc.d/init.d This makes things very easy. All the commands to start, stop, or reload a service are handled by these scripts. So when a server is to go into a specific run level it can find the correct script and knows whether to start it based on its name and link path.

How to: Schedule my PC to shutdown at a certain time?
Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Friday, February 22, 2013

How to: Schedule my PC to shutdown at a certain time?

Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".

Can I delete a file I want to delete using Puppy Linux LIVE CD ?
Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Monday, February 18, 2013

How to: Schedule my PC to shutdown at a certain time?

Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".

Can I delete a file I want to delete using Puppy Linux LIVE CD ?
Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Friday, February 15, 2013

How is it I play my windows music in Ubuntu?

Q. I'm a Windows XP user trying to switch to Ubuntu linux for no other reason than to feed my geeky hunger. I don't really play any computer games, so my main concern is how am I supposed to access my gigs of music on my Windows folder from Ubuntu? I only have 2 hard drives (if possible to work on Windows hard drive then great), no jump drives or CDs. Thanks for whatever answers. :)

A. first what type of filesystem on these partitions

look first under places > removable media
if they are there then click on it
it will be mounted to system when you do that
the linux system needs any driver to be attached (mounted ) to it's tree in order to deal with it

if they are not there
then open the terminal (accessories > terminal )
which is a shell emulator (command line interface )
then make the points you want to attach the filesystem to it
"sudo mkdir /media/My1"
where My1 is the name of the mount point to which you will attach your partition
be careful that linux is case sensitive
My_Folder is not thw same as my_folder
then
"sudo mount -t [ntfs,vfat] /dev/sd[a,b..1,2,3..] /media/My1"
you have to choose the filesystem type (vfat or ntfs )
which hard drive sda or sdb
which partition 1,2,3...
if you got an error and the filesystem type is right it will be mostly because of unclean shutdown
if you don't know the dev available
type
"ls /dev/ | grep sd"

good luck

How do I power off / shut down a linux computer?
Q. In windows one simply shuts the computer down and it turns off. How do you do this in linux? So far I have just issued a reboot command and then powered it off after it beeped, but now I want to shut it down remotely. Thank you
How to shutdown now gracefully. Previous power off attempts have not turned off the computer totally.

A. sudo shutdown -hP now

How to make mouse work after wrong shutdown in PUPPY linux?
Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Thursday, February 14, 2013

When I try to start Ubuntu normally, it goes into a command prompt, rather than the graphical set. Fix?

Q. And when I get to the command prompt, I get a line asking me to log in. If I wait a moment, it will say that "low memory is corrupted on XxxxxxX etc," I go into recovery mode to fix the packages, but it didn't download anything. therefore, not fixing it, I run in the failsafe graphics mode, and it works. I dual boot with Windows 7. How do I fix this?

A. May be something to do with Run Level.

Linux has 7 different run levels (or operating modes):

* rc0.d - System Halted
* rc1.d - Single User Mode
* rc2.d - Single User Mode with Networking
* rc3.d - Multi-User Mode - boot up in text mode
* rc4.d - Not yet Defined
* rc5.d - Multi-User Mode - boot up in X Windows
* rc6.d - Shutdown & Reboot

Each mode has it's own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in - a feature many Linux lovers like to point out that Windows lacks..

chkconfig - will list all the registered services and display thier status at each different run level.

Most of the time when your server boots up it will start in runlevel 3 or 5 depending on what it is set to. This setting can be found in the file /etc/inittab

If you ever want to change what mode your server defaults to on bootup, just edit that file, but NEVER change it to runlevel 6 or 0. This will cause your server to shutdown on bootup or if you set it to runlevel 6 it will continuously reboot. I guess this could make a great prank on a friend's workstation.
RC.D Directory Explanation

In the folder: /etc/rc.d are all the run level folders starting from rc1.d to rc6.d and including init.d

It is in each of these rc#.d folders where the service run settings are kept. If you change directory into /etc/rc.d/rc3.d all the files that start with a capital S are the services that will start at this runlevel. All the files that start with a K are the services that will be killed at that runlevel.

The reason why services that are not supposed to run are still listed is because it is popular to switch a server from one run level to another instead of just booting into the needed run level. That way you can take your server offline (single user mode) and then apply a patch or do a file restore.

Let's take a closer look at these files that are inside the rc#.d folders. Notice that they are symbolic links to the script file located in /etc/rc.d/init.d This makes things very easy. All the commands to start, stop, or reload a service are handled by these scripts. So when a server is to go into a specific run level it can find the correct script and knows whether to start it based on its name and link path.

How to: Schedule my PC to shutdown at a certain time?
Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Thursday, February 7, 2013

How do I power off / shut down a linux computer?

Q. In windows one simply shuts the computer down and it turns off. How do you do this in linux? So far I have just issued a reboot command and then powered it off after it beeped, but now I want to shut it down remotely. Thank you
How to shutdown now gracefully. Previous power off attempts have not turned off the computer totally.

A. sudo shutdown -hP now

How can I force mount my external HDD in Fedora 10 Linux?
Q. The command line suggested in the error windows doesn't work, and I don't want to have to start Windows just to mount a bloody external. It frustrates me that Linux can't just ignore the fact that there was an unclean shutdown. Windows can handle it, why can't Linux???

A. Could you explain what happens when you try the command line suggested in the error window?
If we knew specifically what the error messages were and the details of what you are trying to do we could help.
If some error messages are ignored and the drive is mounted anyway the problems could become much worse and all data permanently lost.
Good luck

How to make mouse work after wrong shutdown in PUPPY linux?
Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Wednesday, February 6, 2013

How to make mouse work after wrong shutdown in PUPPY linux?

Q. After failing to shutdown puppy propery when I boot my pc it comes with a warning and I have to choose IGNORE or COMMAND LINE and when I choose ignore it enters puppy and my MOUSE doesn't work.... how to fix it? I have to reinstall puppy everytime than and it's so annoying..


ps it's not me who is shutting puppy wrong, it's computer used for internet, so guests shutdown incorrectly or something...

A. I believe that Puppy is best used off the LiveCD, why don't you install a different distro?

Puppy is now based off of Ubuntu, just fyi. I personally think that Ubuntu is over rated, I prefer Linux Mint to Ubuntu due to user friendliness. If you want try the Linux Mint 9 go with Flux Box, Xfce, or LXDE for faster versions that require less system resources (In other words to run like Puppy) or even LMDE (Debian Edition). http://linuxmint.com/

You may want to give Fedora a try also which is another of my favorites: http://fedoraproject.org/

What is the best Linux OS (Operating System) for nvidia drivers?
Q. I have GeForce 5200 VGA card. But Ubuntu 10.10 is not detecting it. I have to use Linux for many reasons. But I can't use my VGA with Ubuntu. Please Help ME!!!

A. Hit ctrl-alt-f2 to come in to the text mode (your graphic screen will disappear)

log in

Then enter following commands

sudo /etc/init.d/gdm stop
sudo apt-get purge nvidia*
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-173-dev
sudo rm /etc/X11/xorg.conf
sudo nvidia-xconfig
sudo shutdown -r now

Then your pc should restart and tadaa... nvidia driver working

The right, proper, safe way to turn a Linux (Slackware) machine off?
Q. I noticed it might corrupt the hard disk if I turn it off while it is running a desktop environment. I noticed I must first get out of the desktop environment, and give the command exit and make myself log off, and then it is safe to turn it off. Is that correct?

thanks!!

A. No, to properly shutdown, run the following as root:
/sbin/shutdown -h now

If you wan't to be able to shutdown as a regular user, set the suid bit:
chmod +s /sbin/shutdown

You can also edit /etc/inittab and change the default runlevel to 4, then you will be able to just shutdown from the kde menu.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Thursday, January 31, 2013

When I try to start Ubuntu normally, it goes into a command prompt, rather than the graphical set. Fix?

Q. And when I get to the command prompt, I get a line asking me to log in. If I wait a moment, it will say that "low memory is corrupted on XxxxxxX etc," I go into recovery mode to fix the packages, but it didn't download anything. therefore, not fixing it, I run in the failsafe graphics mode, and it works. I dual boot with Windows 7. How do I fix this?

A. May be something to do with Run Level.

Linux has 7 different run levels (or operating modes):

* rc0.d - System Halted
* rc1.d - Single User Mode
* rc2.d - Single User Mode with Networking
* rc3.d - Multi-User Mode - boot up in text mode
* rc4.d - Not yet Defined
* rc5.d - Multi-User Mode - boot up in X Windows
* rc6.d - Shutdown & Reboot

Each mode has it's own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in - a feature many Linux lovers like to point out that Windows lacks..

chkconfig - will list all the registered services and display thier status at each different run level.

Most of the time when your server boots up it will start in runlevel 3 or 5 depending on what it is set to. This setting can be found in the file /etc/inittab

If you ever want to change what mode your server defaults to on bootup, just edit that file, but NEVER change it to runlevel 6 or 0. This will cause your server to shutdown on bootup or if you set it to runlevel 6 it will continuously reboot. I guess this could make a great prank on a friend's workstation.
RC.D Directory Explanation

In the folder: /etc/rc.d are all the run level folders starting from rc1.d to rc6.d and including init.d

It is in each of these rc#.d folders where the service run settings are kept. If you change directory into /etc/rc.d/rc3.d all the files that start with a capital S are the services that will start at this runlevel. All the files that start with a K are the services that will be killed at that runlevel.

The reason why services that are not supposed to run are still listed is because it is popular to switch a server from one run level to another instead of just booting into the needed run level. That way you can take your server offline (single user mode) and then apply a patch or do a file restore.

Let's take a closer look at these files that are inside the rc#.d folders. Notice that they are symbolic links to the script file located in /etc/rc.d/init.d This makes things very easy. All the commands to start, stop, or reload a service are handled by these scripts. So when a server is to go into a specific run level it can find the correct script and knows whether to start it based on its name and link path.

How to: Schedule my PC to shutdown at a certain time?
Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Can I delete a file I want to delete using Puppy Linux LIVE CD ?

Q. I've got vista installed and 3 files that are virus like and are hidden. I can see them when i boot my pc from live cd puppy linux When i double clicked those files and chose delete>quite they were gone. However when I tried to shutdown my pc it asked if i want to save it, i chose i dont because i used live cd , when i run vista again I saw those files i deleted are there again !

Any help?

A. Yes, you can, you need to clean the Trash before to reboot your machine. You can to delete files using the Terminal (or Console) too, with command line, enter in the windows vista installed disk with the Terminal and tip the full path to files you want to delete. But atention, take care with this, it is not possible to recover the files once deleted.

The comand line is:

rm -rf /path to virus file

If you have a doubt, send me a private message, ok?

How is it I play my windows music in Ubuntu?
Q. I'm a Windows XP user trying to switch to Ubuntu linux for no other reason than to feed my geeky hunger. I don't really play any computer games, so my main concern is how am I supposed to access my gigs of music on my Windows folder from Ubuntu? I only have 2 hard drives (if possible to work on Windows hard drive then great), no jump drives or CDs. Thanks for whatever answers. :)

A. first what type of filesystem on these partitions

look first under places > removable media
if they are there then click on it
it will be mounted to system when you do that
the linux system needs any driver to be attached (mounted ) to it's tree in order to deal with it

if they are not there
then open the terminal (accessories > terminal )
which is a shell emulator (command line interface )
then make the points you want to attach the filesystem to it
"sudo mkdir /media/My1"
where My1 is the name of the mount point to which you will attach your partition
be careful that linux is case sensitive
My_Folder is not thw same as my_folder
then
"sudo mount -t [ntfs,vfat] /dev/sd[a,b..1,2,3..] /media/My1"
you have to choose the filesystem type (vfat or ntfs )
which hard drive sda or sdb
which partition 1,2,3...
if you got an error and the filesystem type is right it will be mostly because of unclean shutdown
if you don't know the dev available
type
"ls /dev/ | grep sd"

good luck

If I remotley shutdown someones computer, how easily can it be traced?
Q. If i use the command prompt: shutdown -i command.

A. If the network is "Linux" based that it will easily traced by the "ADMIN".

Thanks!!



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

When I try to start Ubuntu normally, it goes into a command prompt, rather than the graphical set. Fix?

Q. And when I get to the command prompt, I get a line asking me to log in. If I wait a moment, it will say that "low memory is corrupted on XxxxxxX etc," I go into recovery mode to fix the packages, but it didn't download anything. therefore, not fixing it, I run in the failsafe graphics mode, and it works. I dual boot with Windows 7. How do I fix this?

A. May be something to do with Run Level.

Linux has 7 different run levels (or operating modes):

* rc0.d - System Halted
* rc1.d - Single User Mode
* rc2.d - Single User Mode with Networking
* rc3.d - Multi-User Mode - boot up in text mode
* rc4.d - Not yet Defined
* rc5.d - Multi-User Mode - boot up in X Windows
* rc6.d - Shutdown & Reboot

Each mode has it's own list of settings for what services to start and what services to shutdown. Not only does this list contain what is supposed to be running, but also what order each service should be started in - a feature many Linux lovers like to point out that Windows lacks..

chkconfig - will list all the registered services and display thier status at each different run level.

Most of the time when your server boots up it will start in runlevel 3 or 5 depending on what it is set to. This setting can be found in the file /etc/inittab

If you ever want to change what mode your server defaults to on bootup, just edit that file, but NEVER change it to runlevel 6 or 0. This will cause your server to shutdown on bootup or if you set it to runlevel 6 it will continuously reboot. I guess this could make a great prank on a friend's workstation.
RC.D Directory Explanation

In the folder: /etc/rc.d are all the run level folders starting from rc1.d to rc6.d and including init.d

It is in each of these rc#.d folders where the service run settings are kept. If you change directory into /etc/rc.d/rc3.d all the files that start with a capital S are the services that will start at this runlevel. All the files that start with a K are the services that will be killed at that runlevel.

The reason why services that are not supposed to run are still listed is because it is popular to switch a server from one run level to another instead of just booting into the needed run level. That way you can take your server offline (single user mode) and then apply a patch or do a file restore.

Let's take a closer look at these files that are inside the rc#.d folders. Notice that they are symbolic links to the script file located in /etc/rc.d/init.d This makes things very easy. All the commands to start, stop, or reload a service are handled by these scripts. So when a server is to go into a specific run level it can find the correct script and knows whether to start it based on its name and link path.

How to: Schedule my PC to shutdown at a certain time?
Q. Hey!
I just wanted to know how I could make like some sort of task where I could make my PC shutdown/hibernate at a certain hour. However I want it to do this only on certain days of the week. I hope you guys could help me and I'm even willing to install a program to make this possible!

Thanks in advance!

A. Use the "scheduled tasks" item in yoru control panel (Windows - assumed)
Basically, at the command line you would have
> at ( time)
+
> shutdown / (flags /t = time in seconds, mandatory.. other flags, see /?)

so to FORCE a shutdown and a RESTART (just for demo) in 90 seconds
one time, I would do - > shutdown /f /r /t 90

To schedule it for later on, ( /yes - force close if needed)
> AT 2200 /yes /every:Mon,Tue,Wed "shutdown /f /r /t 90"
... or something similar.. I haven't used this in a while, so it may need a tweak with spaces or flags.

It is probably easier - you just check the boxes(for days), fill in the time, and give the command in using the TASK SCHEDULER.

If you are using Mac or Linux (Mac since OSX is BSD Linux underneath).. the similar command would be setting a CRON job ( CRON is closest to AT)

In linux how do I set a time for my computer to shut down?
Q. Is there a way I can leave my computer on to download something but have it set so that it stops the download and shuts down at a certain time?
I'm using dream linux.

A. you can use the command "shutdown -P time". With this command, the computer will shutdown after the given time in minutes. For ex: "Shutdown -P 30" will turn off the computer after 30 minutes

Other possibilities are to use "at" or "cron",
"at" will automatically perform a given command at the given time only once (remember that: only once).
"cron" will repetitively perform the given command at every given time (for ex: every hour, every day or every month, etc...
For explication of "at" and "cron": you can see this page: http://www.linux.org/lessons/interm/c622.html

In your situation, Using "shutdown" is the best because your task isn't repetitive and "shutdown" is much more easier to use than "at" or "cron".



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Older Posts Home