Wednesday, December 31, 2008
Installing software using yum
Synergy on fedora
/usr/bin/killall synergyc sleep 1 /usr/bin/synergyc ip_of_my_server
/usr/bin/killall synergyc sleep 1/usr/bin/killall synergyc sleep 1 /usr/bin/synergyc ip_of_my_server
Tuesday, December 30, 2008
Linux network connection not found
Monday, December 22, 2008
Sigiriya trip
Wednesday, December 17, 2008
Load an environment variable to build file
Monday, December 8, 2008
Refresh my knowledge
One of my school friends came to my home and asks me to teach him basic sql and Java SWT application programming. I had done them in the university but I have lost my memory since I haven't been involved on those areas for sometime. Some of the areas included, connecting the database through the java program, granting database permissions, using suitable database driver classes, applying SWT layouts, add look and feels, etc.
Finally, I refreshed my knowledge and my friend was happy as he learnt the basics. This tutorial helped me lot in teaching him the above stuff,
Thursday, December 4, 2008
Useful Linux commands
When I was installing Oracle 11g database I found some useful Linux commands. I here summarized what I learnt there. For further details refer to Oracle 11g database Linux installation guide.
To determine physical RAM size
grep MemTotal /proc/meminfo
To get the system architecture
grep "model name" /proc/cpuinfo
To determine the size of the configured swap space
grep SwapTotal /proc/meminfo
To get available ram and swap space
free
Determine the distribution and version
cat /proc/version
To find the kernel version
uname -r
du -h
To determine required packages are installed
rpm -q package_name
To find free disk space of the system
df -k
If it need to extend the search to a directory
df -k /path_to_folder_name