To convert a Putty public SSH key to an OpenSSH public key, run:
I encountered an issue today where someone requested that we keep the 10 newest backup files, while the rest of them (the oldest) were deleted. So I made this little script:
This can be modified to match with any type of file or filename.
I have been working with Linux for years, and I've always used screen when working in the terminal. I even wrote a small introduction to screen over 10 years ago.
So you can imagine my surprise when I at a very late point found out about tmux. It has completely changed the way I work, and boy do I love it.
To delete all files in a directory, between two dates, use the find command: