Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

February 28, 2009

Tip : Shutting down your system automatically

Welcome again,
this post I've a tip for you, it is how to shut down your system automatically, such operation required a tool in the past when I was operating windows, but now, you can do it without any additional tools, just your system :)

the command is shutdown, and here is the syntax

shutdown -P [time]

this command require root access on the system, and very flexible too, you can use it in many diffrent ways,

here are some examples of using the command:

shutdown -P now
this command will shutdown the system immediately

shutdown -P 10:23
this will shutdown the system on 10:23 AM

shutdown -P 22:23
this will shutdown the system on 10:23 PM

shutdown -P +15
this will shutdown the system after 15 minutes

the command has lot of options you can test it,

that's all for the moment

February 03, 2009

YUM segmentation fault in fedora 10 >>> It's Fix

the Problem

While I was updating my fedora 10. I accidentally restarted my PC.
after restating the PC. I tried to update the packages by package managers it takes too long.
I used the # yum update  command it give me the error message "Segmentation fault" and aborts.

I searched for the solution and found this one.

the reason

this error is a result of a corruption in RPM Database Files located int /var/lib/rpm/
 
how i fixed it

by executing the following commands ( while I'm root )

# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb

It worked for me hope it works for you too ;)

more details about this problem and RPM DB Recovery

RPM DB Recovery in Details (RHEL 3 )

Working With the RPM Database (Fedora)

How to "repair" /var/lib/rpm/Packages

the solution posted here was found in the following link
yum Segmentation fault

February 23, 2008

yum basics

The main syntax is :
yum [options] [command] [package ...]

To use yum, become root, and then you can use the following commands:

To see a list of available software:
yum list available

To install some software, you type:
yum install packagename

To update some software, you type:
yum update packagename

NOTE :If you leave out "packagename" yum will update all your software.

To see what updates are available, you can do:
yum check-update

To search for a package, you can do:
yum search word

To remove package already installed, you type:
yum remove packagename
or yum erase packagename

To list information about available packages or spsific Package.
yum list packagename
or yum list packagename*
or yum list word*


[OPTIONS]

-h, --help
Help; display a help message and then quit.

-y
Assume yes; assume that the answer to any question which would be asked is yes.
Configuration Option: assume-yes

-q, --quiet
Run without output. Note that you likely also want to use -y.

-v, --verbose
Run with a lot of debugging output.

--
Thanks
Your's Sincerely
Mohamed Nasr

December 04, 2007

netBeans 6.0 Released




NetBeans - The Only IDE You Need

The much awaited netBeans 6.0 has been released and can be downloaded from
http://download.netbeans.org/netbeans/6.0/final/
Aand U can read about the new feature here