Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [ -z $1 ]
then
echo "Usage: morse.sh <string in quotes> <words per minute (optional) > <beep frequency (optional)>"
exit 1
fi
if [ -z $2 ]
then
time lxc ls --debug
DBUG[05-27|17:59:03] Connecting to a local LXD over a Unix socket
DBUG[05-27|17:59:03] Sending request to LXD etag= method=GET url=http://unix.socket/1.0
DBUG[05-27|17:59:06] Got response struct from LXD
DBUG[05-27|17:59:06]
{
"config": {
"core.https_address": "[::]:8443",
"core.trust_password": true
},