Linux

Change how the swap memory behave in Ubuntu

This post is just a cut and paste job from the Ubuntu SwapFaq for my future reference Ubuntu installation. The swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for […]

Read More
Linux

Recursively symlinking files

This is a short script I use to symlink all my JPG image files on my file server to a flat folder accessible to my DLNA enabled devices. My files are organized in year folders and under each year there are month folders: -2011 –2011-01 –2011-02 –2011-03 … -2012 –2012-01 I avoid duplicate symlinks by […]

Read More
Linux

How to join *.001,*.002,… files from your Linux terminal

This is a easy way to combine/join/merge several .001 .002 .003 etc files to one file. # cat filename.avi.* > filename.avi The .001 .002 .003 files can be deleted after you have verfied that the files have merged together successfully to one file. If you were using Windows you would normally use a software like […]

Read More
Network

Disable IPv6 on Ubuntu 11.10

This is a short HOWTO on disabling IP version 6 support on your ethernet devices like eth0 on Ubuntu 11.10. I guess you can do this on earlier version of Ubuntu as well. Add the following line to the end of the file /etc/sysctl.conf (as root or use sudo) net.ipv6.conf.all.disable_ipv6 = 1 Run the following […]

Read More