Unix & Linux
Deleting files by age
Is there a command to delete all the files in a directory that haven’t been modified in N days? I need to clean up some old logs.
Removing a directory from PATH
I’m trying to compile wxWidgets using MingW, and I have cygwin in my path, which seems to conflict. So I would like to remove /d/Programme/cygwin/bin from the PATH variable and I wonder if there is some elegant way to do this.
.zshrc shortcut working on Arch but not Ubuntu
I use the zsh shell as default shell on both Ubuntu and Arch.
Why won’t my xmodmap command run on startup/login?
I want to run this command every time I log in (or every time I start up, if that doesn’t work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete'
Always Forward Traffic Out The Interface It Originated On
(This is the original question but my eventual solution was too different from how I originally asked the question so I’m posting as a new question.)
Why is screen seemingly doing nothing with commands passed with -X?
I’ve been trying to set up an automated backup system for a minecraft server, and I’m having trouble with screen, specifically when using ‘screen -r sessionname -X “/var/minecraft/somebatchfile”‘, nothing happens.
Failed to sign CSR with the CA root key
I’m trying to implement Mutual Certificate Authentication , I have to be the CA and server at the same time , generate certificates and sign them for users. and I’m following this tutorial which is a very simple one comparing to the complicated articles on the web , steps are :
Simple command line HTTP server
I have a script which generates a daily report which I want to serve to the so called general public. The problem is I don’t want to add to my headaches maintance of a HTTP server (e.g. Apache) with all the configurations and security implications.