Simon Willison: TILs on linux

Atom feed for linux

linux Using iconv to convert the text encoding of a file - 2022-06-14

In sqlite-utils issue 439 I was testing against a CSV file that used UTF16 little endian encoding, also known as utf-16-le. …

linux Enabling a user to execute a specific command as root without a password - 2022-02-13

I wanted a script running as a non-root user to be able to restart a systemd service on my Ubuntu machine without needing a password. …

linux Basic strace to see what a process is doing - 2020-09-07

I had a long-running process and I wanted to check that it was at least doing something. …

linux Piping echo to a file owned by root using sudo and tee - 2020-08-24

I wanted to create a file with a shell one-liner where the file lived somewhere owned by root. …