If you defragment your Windows or store your files in NTFS partitions, you can defragment the NTFS partitions using Linux OS. You must run disk management commands as the root user by using root account.
… and give your root password when prompted.
#fsck -t ntfs --kerneldefrag /dev/hda
In this case the hda is your NTFS partition. Also… Read More »
The best way to start learning a programming language is by writing a program. How edit and compile the program ? That depends on the compiler you are using. First of all you should write a simple program using C language. This is a simple program:
int main( int argc,
char *argv )
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
Now about the compilers: gcc is the “GNU”… Read More »
I will present the technique of indirect light in Blender 3D. What exactly is indirect light ? Lighting is mixed from direct sources and indirect reflection. Lighting provided by reflection usually from wall or celiling surfaces. In daylighting, this means that the light coming from the sky or the sun is reflected on a surface.… Read More »
This fatal error need to run database recovery. We can do that using commands under root account:
# cd /var/lib/rpm
# rm -f __db.*
# rpm --rebuilddb
The yum command will working now.
The | operator makes bash redirect all data that the command left of it returns to the stdout Let’s try a more complex example. If you want to see the data and write to the file passed on between programs in a pipe, you can insert the tee command.
$ps aux | tee filename | grep root
The data show by ps… Read More »