<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cli on Cal Bryant</title><link>https://calbryant.uk/tags/cli/</link><description>Recent content in cli on Cal Bryant</description><generator>Hugo</generator><language>en-GB</language><copyright>Callan Bryant - All rights reserved</copyright><lastBuildDate>Mon, 30 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://calbryant.uk/tags/cli/index.xml" rel="self" type="application/rss+xml"/><item><title>Destroying the right server with colour association</title><link>https://calbryant.uk/blog/destroying-the-right-server-with-colour-association/</link><pubDate>Sun, 05 Feb 2023 08:22:10 +0000</pubDate><guid isPermaLink="false">8197aff9-78df-4131-8dec-8eefd720c247</guid><description>&lt;p&gt;&lt;strong&gt;Have you ever run a destructive command on the wrong server?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The year was 2010; I had 3 servers that I maintained with a few friends. We
developed a script that would destroy a given server over SSH &amp;ndash; it would write
random data to block devices and kmem, after deleting a lot of files.&lt;/p&gt;</description></item><item><title>GPG Agent with a Yubikey for SSH, Code Signing and Passwords</title><link>https://calbryant.uk/blog/gpg-agent-with-a-yubikey-for-ssh-code-signing-and-passwords/</link><pubDate>Tue, 19 May 2020 09:28:23 +0100</pubDate><guid isPermaLink="false">0fff6f77-846a-4386-9f8b-1befb131ea0b</guid><description>&lt;p&gt;I&amp;rsquo;ve been using a set of Yubikeys for some time now, not just for 2FA but for
SSH authentication, remote code signing and password storage too. It&amp;rsquo;s worked
so well (and required such significant effort to get working) that I thought
I&amp;rsquo;d write about how I did it and what makes my approach secure.&lt;/p&gt;</description></item><item><title>dsnet, a new CLI tool to manage a WireGuard VPN fast</title><link>https://calbryant.uk/blog/dsnet-a-new-cli-tool-to-manage-a-wireguard-vpn-fast/</link><pubDate>Fri, 08 May 2020 09:04:04 +0100</pubDate><guid isPermaLink="false">d529b6e6-2f0a-4675-971f-a4643cc91740</guid><description>&lt;p&gt;TL;DR: Check out &lt;a href="https://github.com/naggie/dsnet"&gt;dsnet&lt;/a&gt; for an easy way to
manage a WireGuard VPN.&lt;/p&gt;
&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.wireguard.com/"&gt;WireGuard&lt;/a&gt; is a relatively new VPN tunnel. It is
now in the Linux 5.6 kernel &amp;ndash; it is therefore probably going to become the VPN
solution of choice, replacing the antiquated and cumbersome IPsec and OpenVPN.&lt;/p&gt;</description></item><item><title>dstask, a terminal based git powered task manager</title><link>https://calbryant.uk/blog/dstask-a-terminal-based-git-powered-task-manager/</link><pubDate>Thu, 27 Dec 2018 20:43:10 +0000</pubDate><guid isPermaLink="false">555d7b45-a5b6-49a7-8aa6-468c44bb9059</guid><description>&lt;div class="infobox"&gt;
 If you&amp;rsquo;ve just discovered dstask, I recommend the &lt;a href="https://github.com/naggie/dstask/blob/master/README.md"&gt;README
file&lt;/a&gt; which contains
everything you need to know!
&lt;/div&gt;

&lt;p&gt;I&amp;rsquo;ve been using &lt;a href="https://taskwarrior.org/"&gt;taskwarrior&lt;/a&gt; (which I still maintain is excellent) to track
what I have to do on a daily basis. It has served me well, working as a
mental-offload both at work and at home. I also used it to produce a log of
what I&amp;rsquo;ve been doing at work, which is useful for catchup meetings.&lt;/p&gt;</description></item><item><title>Vim: hate it then love it</title><link>https://calbryant.uk/blog/vim-hate-it-then-love-it/</link><pubDate>Sun, 11 Nov 2012 17:35:13 +0000</pubDate><guid isPermaLink="false">75bc4ca8-4801-41bd-8d78-c6cc242731dd</guid><description>&lt;p&gt;So I’ve been using vim every day for about 6 months now. It was an exercise in
frustration for most of that time, until it became second nature; so much so
that I then found other editors and word-processors less effective to use as
I&amp;rsquo;d keep trying vim commands&amp;hellip;&lt;/p&gt;</description></item></channel></rss>