tait.tech

rfi: A Simple Linux utility to get a random file from a directory


I made a little video about this script I wrote:

$ rfi

This program gets a random file from your current directory if you do not specify one; it gets a random file from the specified directory if you give it one like so:

# rfi /etc/wireguard

Which is very useful if you want to start a random VPN configuration :)

The code, comments, etc. are on the Github.