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

Wednesday, May 15, 2013

i need help please my computer wont let me go on password recovery?

Q.

A. THE CONTENT OF THIS POST IS FOR LEARNING PURPOSES ONLY AND RESETTING A PASSWORD FOR THE PC OF WHICH YOU HAVE FULL OWNERSHIP RIGHTS TO. DAMAGES TO OPERATING SYSTEM OF DEVICES THAT PRACTICE THESE ACTIONS ON DO NOT BELONG TO YOU CAN MAKE YOU LEGALLY ACCOUNTABLE FOR THOSE ACTIONS. IF YOU FOLLOW THESE STEPS, YOU AND ONLY YOU WILL BE HELD ACCOUNTABLE FOR YOUR ACTIONS. BY FOLLOWING, YOU AGREE THAT I AM NOT RESPONSIBLE FOR DAMAGES TO YOUR PC.

If you have forgotten your password, download a live boot CD. (Linux or UBD) http://www.ubcd4win.com/
http://www.ubuntu.com/getubuntu/download

Run the disk... Open the hard drive
navigate this path
You may need to mount the drive. Check /dev/ for sda1, sda2, sda3, etc. run a terminal window.
Command line you need to play with each one to find out if it's right.... I don't know your partitions and you may not be advanced enough to know them yourself.

mkdir /mnt/windows1
mkdir /mnt/windows2
mkdir /mnt/windows3
mount -t ntfs-3g /dev/sda1 /mnt/windows1 -o force
mount -t ntfs-3g /dev/sda2 /mnt/windows2 -o force
mount -t ntfs-3g /dev/sda3 /mnt/windows3 -o force

After you do this.. while in command line... Type
ls /mnt/windows1
ls /mnt/windows2
ls /mnt/windows3

You may not need to go past the first one if you see the Windows Directory.
once you find the directory...
type the following!!
cd /mnt/windows1/WINDOWS/system32
cp sethc.exe sethc.exe.bak
cp cmd.exe sethc.exe

Now reboot... it's a live CD, no need for safe shutdown. That entire environment was run from a disk.
You'll be scratching your head wondering what you just did....
Remember that pest, Sticky Keys??? Sethc.exe is the executible for Sticky Keys... so while CMD.exe has replaced it.. you can access a command line with sticky keys.

When your computer boots up, press shift 5 times at the login screen.
type the following
To change the password of the administrator account and activate it (default is inactive)
net user administrator password /Active:YES -- This makes the admin password "password"
To change the password for your user account
net user yourusername password -- changes your account password to "password"

To add a new user account with admin privileges
net user newuser password /add - adds newuser account with password "password"
net localgroup administrators newuser /add - adds the newuser account to the administrators group

Thats all you get... I can't give anymore. Happy password resetting.

How to restore system?
Q. I am trying to restore my computer in back dated because of virus but when I go to start...all program mes...accessory....system tool........it does not show any recovery option. I have window XP. Can anyone could help me to restore the computer other way round. Thanks
Where in control panel i can find the option restore ..........in system tool.....i did not find their or it is not working.....................help me out
But it does not show performance n maintenance in control panel of window XP..........???

A. Well, there's always an option that will erase everything on your computer. Now, you can use recovery programs to recover the files, but it's unreliable and maybe it would bring back the virus. If you have your installation disc, this will be easy. I will give you detailed directions.

1. Go to http://www.backtrack-linux.org/ and download the os. Go to another computer and burn the .iso image to a dvd. Click burn image to disc.
2. Place disc in computer and turn off.
3. Press power button to turn on.
4. Hit F12 and DEL repetitively or whatever your computer uses to get into the bios.
5. Once you are in the bios, make a note of the boot order and remember. Change the boot order to boot to disc.
6. When the dvd boots, you will be given options. You can type in a command (this works for bt4, idk about 5) something like startx or start x. I don't remember so try both if one doesn't work.
7. When you're in backtrack, there's a kind of system manager. When you find the hard drive Windows XP is on, format (erase) it to NTFS or FAT32.
8. Remove BT disc. Insert XP disc. Shutdown computer.
9. When the XP disc boots, install XP on the cleaned hard drive.
10. Once installed, go to the bios again like before and change boot order back to how it was before you booted to backtrack.
11. Hopefully it works. You may need to get drivers for your sound to work. It might not work. I recommend that you download DriverMax. It will help you get the drivers.

or

you can boot to Windows XP disc and try to format the disc with a repair utility.

I am not responsible for any damage. You do all this at your own risk.

Good luck, hopefully it works. If you have ANY PROBLEMS, feel free to email me.

How do you use Linux?
Q.

A. Linux, like Windows, is an advanced operating system, and it's usage cannot be explained in a single paragraph, and probably not an entire page. I'll only try to provide the most basic instructions on how to operate a typical Linux system.

Commands that you can use on the command line:

cd - changes the current directory. cd /etc would take you to the /etc directory on the root partition. cd etc would take you to the etc directory in the folder you are already in.

ls - Lists files and folders in the current directory.

mkdir - Makes a directory. Example: mkdir folder would make a directory called "folder."

ifconfig - Displays current networking information, like IP addresses.

top - displays currently running processes / programs. Press Q to quit.

nano - a simple text editor found on most Linux systems. Exit by pressing Ctrl- X.

How to use GNOME (found in Ubuntu and Fedora):

Applications can be launched by pressing the Applications button on the top taskbar. Think of it as the Start menu being at the top of the screen. You can shutdown by clicking the door near the clock.

How to use KDE (found in Kubuntu, Mepis, and OpenSUSE):

Applications can be launched by clicking the KMenu (a blue K in Kubuntu, a blue mountain in SimplyMepis, and a Start button in OpenSUSE) and selecting programs from the list. This should be very familiar to Windows users.

How to use JWM/Fluxbox/Blackbox (found in Puppy Linux and Damn Small Linux:

Right-clicking anywhere on the desktop will cause a menu to pop up. This menu is like a mini Start menu, where you can selectany application you want. JWM also has a Start-like button that launches the same menu.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Monday, March 25, 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 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

Saturday, March 23, 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

Wednesday, March 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



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Monday, March 11, 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, March 1, 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

Saturday, February 9, 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

Friday, February 8, 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

Tuesday, February 5, 2013

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!!

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

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

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

Saturday, February 2, 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, February 1, 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

Thursday, January 31, 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

Thursday, January 24, 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

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

Wednesday, January 23, 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

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

Older Posts Home