ls full path

How do you get the Unix command ls to show you the full path? Unfortunately there’s no argument for ls that will do this directly. However this will work fine and give you what you want. ls -d $PWD/* or ls -ld $PWD/*

Continue reading

Window Stuck Under Toolbar in OS X

Sometimes a window can get stuck under the top toolbar in OS X. This often happens when I use Citrix in OS X to run Windows applications. When this happens it’s not possible to grab the window norĀ  to close it. A simple solution for this is to press [fn] [shift] [F2] which will move …

Continue reading

DbVisualizer auto commit problem

I had some issues with DbVisualizer and auto commit. I wanted to be able to turn it off from the SQL commander. The official documentation states that you can do this using: The Auto Commit setting is enabled by default and can be adjusted in the Connection Properties. You may also adjust theĀ  auto commit …

Continue reading

SQL*Loader-522: lfiopn failed for file (loader.log)

I used the Oracle SQL Loader to push some data into a table and got the following error: SQL*Loader-522: lfiopn failed for file (loader.log) This somewhat cryptic error message turned out to be that Oracle SQL Loader didn’t have write permissions in the work directory i.e. in the directory where I executed the sqlldr command. …

Continue reading

How to find project dependencies in a Maven project

It’s very useful to be able to see what is included in your class path especially when you’re trying to track down a troublesome dependency. Recently I had an issue with a JDOM dependency; however I had not defined a JDOM dependency in my pom.xml file and I couldn’t quite figure out why this dependency …

Continue reading

How to control or throttle SCP file transfer speed

I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the “SCP -l” switch. In my case I had to make sure to not exceed 0.5 Mbit/s Since the “-l” parameter uses Kbit/s the correct value in my case is 500 scp …

Continue reading