On the official site we find that: Alien is a program that converts between the rpm, dpkg, stampede slp, and Slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it… Continue Reading How to converts packages.
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 the root account.
… and give your root password when prompted.
#fsck -t ntfs --kerneldefrag /dev/hda
In this case, the… Continue Reading How to defragment NTFS partitions using Linux
The best way to start learning a programming language is by writing a program. How to 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… Continue Reading Linux , C and GTK
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 the wall or ceiling surfaces. In daylight, this means that the light coming from the sky or the sun… Continue Reading Blender 2.5 – Indirect Lighting
This fatal error needs 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 work 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
As you know, year WinSCP is an open source SFTP client and FTP client for Windows. After you connect to Linux server (windows server I have not tried), press key combination:
At the bottom of the window will show an edit box WinSCP program as shown below: I used… Continue Reading Linux command execution using WinSCP.
Sometimes it is necessary to resize the images. The PIL module is used for image processing. The glob module takes a wildcard and returns the full path of all files and directories matching the wildcard. Here are two scripts that I made. The first is a simple example using a… Continue Reading How to resize images – python script .