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

Saturday, April 27, 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

Friday, April 19, 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

Thursday, April 11, 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

Friday, April 5, 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, March 2, 2013

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.

What is the heart of linux? Windows has system32 and what does linux have?
Q. I don't have any real reason for knowing, i mean. I don't know Linux very well and i just wanna know this.
Also is there any way i can find this "kernal" in the file directory or whatever

A. The system is built in the root filesystem. There's no direct equivalent to the system32 folder (it's not really necessary) and it's not often that I do much outside my /home folder.

/bin holds all my essential command binaries (executables)
/sbin for essential system binaries
/boot for kernels and boot time files
/dev for devices
/etc for system configuration files
/lib for libraries
/media for removable or 'mounted' filesystems

so I guess the nearest equivalent to c:windows/system32 would be /sbin

For the kernel, look in the /boot folder.

Here's a listing of mine:

abi-2.6.35-22-generic
grub
memtest86+_multiboot.bin
vmcoreinfo-2.6.35-23-generic
abi-2.6.35-23-generic
initrd.img-2.6.35-22-generic
System.map-2.6.35-22-generic
vmlinuz-2.6.35-22-generic
config-2.6.35-22-generic initrd.img-2.6.35-23-generic System.map-2.6.35-23-generic vmlinuz-2.6.35-23-generic
config-2.6.35-23-generic memtest86+.bin vmcoreinfo-2.6.35-22-generic

BTW - thanks for the thumbs down everyone, but as someone who's used Linux for the last 4 years I think that you're showing just a touch of ignorance here. Sure, the kernel is the 'heart' but it's monolithic and it's not what the questioner is really interested to know (though I told him WHERE) and the equivalent to system32 - which holds system binaries - would indeed be the /sbin folder and NOT the kernel.

/sbin is where you find 'ifconfig' and 'shutdown'



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

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

Monday, February 11, 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

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

Thursday, February 7, 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

Tuesday, February 5, 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

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

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

Monday, February 4, 2013

I want total control of my home network?

Q. Like the question said. I want total control! I want to be able to shutdown computers on my network if the user is a threat (If you know what I mean) without these stupid error codes. I have a copy Backtrack 4. When I use CMD to use the shutdown command I get system error (5)

CMD is a problem, and ALWAYS gives me error codes. I've restored my pc, I've looked online for solutions on how to fix error codes and it has no effect.

Thanks in advance!

A. I don't use Linux too much nowadays but does the "shutdown now" command works for you?

Edit:

Ok... Here we go.

I'm assuming you have Windows Vista or 7.

After some investigation this is what I found. The problem with "shutdown" is that it doesn't give you an option like /u /p to input your username and password in the remote computer. I believe that when you use a domain instead of a workgroup you can do the remote shutdown.

Now, if you need to input an username and password (workgroup) you have no choice but to use another program like "psshutdown" http://technet.microsoft.com/en-us/sysinternals/bb897541 you'll want to add the folder to the Path (something like this http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx ) or run it from the folder with a command prompt. I runed it only in the computer I'm sending the shutdown command from.

Here's the catch, in order to make psshutdown work correctly I had to disable UAC, so I don't recommend you to do that.

What I normally do is to access the computer with Remote Desktop, then press ALT+F4 and shutdown the computer. If you don't like the remote computer logging off, then you can use VNC or similar programs.

I'm sure there are many programs that will let you shutdown one or many computers at once but I just hate having to install them on every computer I'm trying to shutdown.

I know this is a big annoyance :/

More info about domains/workgroups: http://en.wikipedia.org/wiki/Windows_domain

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)



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Tuesday, January 29, 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

Friday, January 25, 2013

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.

Is there a way to easily shutdown a remote linux server with a shell script?
Q. I have 3 linux servers hooked to my UPS. I can only hook the UPS to one of them. The UPS software will allow me to run a shell script on that one server before it shuts down. And I want that shell script to shut down the other 2 servers. Is this possible?
@ Roland J: I AM FULLY AWARE OF HOW TO SHUTDOWN A LINUX MACHINE.

@ Roland J: Please donât answer a question unless you actually READ the question!!!!! It makes other people think the question is answered, when in reality, your just lazy to even read the full title of the question. (or you donât know what the word âremoteâ means)

I need to know how to shutdown a linux machine REMOTELY.

This means that I want to run a script on LinuxBox1 and have LinuxBox2 (another linux server on same LAN) shut down.

A. Actually SSH would have to be set up first to allow passwordless, login between servers.

I found the solution else where, and just wanted to post it here, in case anyone else stubles on this question looking for an answer.

NOTE: IN THE RESOLUTION BELOW MANY OF THE COMMANDS ARE CUT OFF, OR INCORECTULY SHOW AS TWO LINES. FOLLOW THIS LINK FOR A PROPERLY FORMATED ANSWER.
http://www.justlinux.com/forum/showthread.php?p=863427#post863427

RESOLUTION:
Here's what I did...

First I ssh'd from each machine to each other one. (The first time u ssh to new machine it asked you to accept the machines "fingerprint" and saves it -- this is just so they know who each other are.

Then on the machine I wanted to be able to shutdown FROM I did
[CODE]
cd /root/.ssh/
ssh-keygen -t rsa
[/CODE]
and accepted the default location. (/root/.ssh/id_rsa)
I left the passphrase blank, so it would not be required.

Then basically you just need to copy that "id_rsa" file onto the DESTINATION machine, in the same directory, but named as "authorized_keys". Which can easily be done like this:
[CODE]
scp id_rsa.pub xxx.xxx.xxx.xxx:/root/.ssh/authorized_keys [/CODE]
Where xxx.xxx.xxx.xxx is the IP address or host name of remote machine.

[INDENT]NOTE: You may want to check if a file by that name already exists, on the remote machine, because the above command will overwrite it without warning. -- If you already have a file by that name on the remote machine, I would suggest using command above, but change the file name. Then on the remote machine, append the file you just copied to the existing one. This could easily be done like this: (there may be an even simpler way - but this is what I know)

[CODE]mv /root/.ssh/authorized_keys /root/.ssh/authorized_keys.backup
cat /root/.ssh/authorized_keys.backup /root/.ssh/yourfilename > /root/.ssh/authorized_keys
[/CODE]
[/INDENT]

Then make sure the /root/.ssh/authorized_keys file has 600 permissions.
[CODE]
chmod 600 /root/.ssh/authorized_ keys
[/CODE]

Then try to ssh to the remote machine.
[CODE]
ssh xxx.xxx.xxx.xxx
[/CODE]
And if it works like it did for me -- it will let you right in, with no username or password. If this works correctly, you should be able to remotely run commands through ssh within scripts.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Wednesday, January 23, 2013

I want total control of my home network?

Q. Like the question said. I want total control! I want to be able to shutdown computers on my network if the user is a threat (If you know what I mean) without these stupid error codes. I have a copy Backtrack 4. When I use CMD to use the shutdown command I get system error (5)

CMD is a problem, and ALWAYS gives me error codes. I've restored my pc, I've looked online for solutions on how to fix error codes and it has no effect.

Thanks in advance!

A. I don't use Linux too much nowadays but does the "shutdown now" command works for you?

Edit:

Ok... Here we go.

I'm assuming you have Windows Vista or 7.

After some investigation this is what I found. The problem with "shutdown" is that it doesn't give you an option like /u /p to input your username and password in the remote computer. I believe that when you use a domain instead of a workgroup you can do the remote shutdown.

Now, if you need to input an username and password (workgroup) you have no choice but to use another program like "psshutdown" http://technet.microsoft.com/en-us/sysinternals/bb897541 you'll want to add the folder to the Path (something like this http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx ) or run it from the folder with a command prompt. I runed it only in the computer I'm sending the shutdown command from.

Here's the catch, in order to make psshutdown work correctly I had to disable UAC, so I don't recommend you to do that.

What I normally do is to access the computer with Remote Desktop, then press ALT+F4 and shutdown the computer. If you don't like the remote computer logging off, then you can use VNC or similar programs.

I'm sure there are many programs that will let you shutdown one or many computers at once but I just hate having to install them on every computer I'm trying to shutdown.

I know this is a big annoyance :/

More info about domains/workgroups: http://en.wikipedia.org/wiki/Windows_domain

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)



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Sunday, January 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

Saturday, January 19, 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

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/

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

Sunday, January 13, 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




Powered by Yahoo! Answers
Older Posts Home