Posted on September 1, 2009, 17:48, by stefan, under
linux.
Perfect for long running batch jobs on a remote server over unreliable connections or if you want to bring your laptop home (instead of keeping that terminal running). Log in and run screen -t title_of_your_choice Do the same thing again if you want to create another window. All the following screen commands are preceeded by [...]
Posted on December 5, 2008, 9:53, by stefan, under
linux.
Using Linux, to get the number of files in the current directory, use: ls -1 | wc -l To count the number of files recursively in the current and all directories below it, use: find . -type f | wc -l
Posted on July 25, 2008, 12:56, by stefan, under
linux.
I had to install GlassFish on an Debian Etch machine and here is how I did it (the purpose of these instructions is as a reminder to myself so I know what I did in case I have to do it again). Install Java 5 First thing needed is Java 5. To be able to [...]
Posted on July 25, 2008, 11:21, by stefan, under
linux.
To enable symbolic links in GlassFish, which is disabled by default, go to the admin interface, click Configuration > Http Service > Virtual Servers and then the name of of the virtual server you are using (e.g. server). Under Additional Properties, click Add Property and enter allowLinking as name and true as value. It is [...]
Posted on July 20, 2008, 7:18, by stefan, under
linux.
Incremental encrypted remote backup using Amazon S3: Duplicity Incremental backup to another (remote) directory: rdiff-backup Easily available on Ubuntu using: sudo apt-get rdiff-backup Nice instructions for automating and scheduling backups. Simple backup by simply tar’ing everything, instructions on Ubuntu Forums.