By default there is a file containing typed commands: ~/.bash_history
However, it's not the security facility. So, just commands typed in bash are logged there.
I would recommend to tune access mode of your files and directories so that no one but you could modify them. (and but root).
What is the filesystem type your directiry placed in?