I want a script to sleep unless a certain file is modifed/deleted (or a file created in a certain directory, or ...). Can this be achieved in some elegant way? The simplest thing that comes to my mind ...
Is there a way to run a script/command every time a user connects using ssh? Can it be configured globally (i.e run the script when any user login)? I came across this question on Identica, but there ...
What file should I modify to execute some instructions when any user logs in through gdm? I tried /etc/bashrc but that is executed ony when starting bash (and each time an xterm is open). I'd like to ...
I have installed Arch Linux on a USB drive with full system encryption using LUKS. The Arch wiki as usual walked me through almost everything. The only issue I ran into was using setting up the hooks ...
To solve this problem, I need to set the environment variable DBUS_SESSION_BUS_ADDRESS for all shells inside tmux every time I restart gnome without restarting tmux (this is often). How can I best ...
I would want to append the below line to resolv.conf of all servers in our aws env and make sure it doesn't get overwritten options timeout:1 attempts:1 rotate I came across dhclient enter and exit ...