Flash Local Shared Object storage security issue?
# is used by the shell to indicate a comment. So if you type

cd #ui


everything after the # is ignored and you basically just execute cd. To change into the directory, use one of

cd ./#ui
cd \#ui


instead.

The same applies if you want to remove it.