Argument list too long.

Posted in Linux, RubyOnRails at 8:21 pm by

I was trying to delete all rails sessions of a site tonight and I encountered the following error:

Argument list too long.

The workaround is easy:

find . -name 'ruby_sess.*' | xargs rm

Voila, all those files are gone.


What’s inside the svchost process?

Posted in windows at 11:28 am by

In the command prompt type:

tasklist /svc /fi “imagename eq svchost.exe”