Guillaume Hérail

Ramblings in Frenglish


Jan 17, 2021
Session sharing with tmux One thing I’ve been using forever but even more since I started working from home is tmux session sharing. tmux -S /tmp/shared -S is telling tmux to use the following path as its socket To share it with another user, you’ll need to change the permissions on that socket. The easy solution is just to open it up to everyone: chmod 777 /tmp/shared Though it would be wiser to selectively allow another user to attach your session.
Jan 10, 2021
Find oldest files in a directory recursively Small post today, just a command. I’ll start posting commands I’ve found useful under the commands tag. Example to find the top 5 oldest files that are named *index recursively in a directory: find /path/to/directory -name '*index' -type f -printf '%T+ %p\n' | sort | head -n 5 – This is day 8/100 of #100DaysToOffLoad!