From 72e2478b6aec1c5d19e0eac31b4743cca0557b62 Mon Sep 17 00:00:00 2001 From: Nathan Steel Date: Tue, 5 Jul 2022 11:53:07 +0100 Subject: [PATCH] Add different alias examples Use examples of aliases that I actually use on a daily basis --- blog/initial-server-setup.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/initial-server-setup.html b/blog/initial-server-setup.html index 61455e2..d98b703 100644 --- a/blog/initial-server-setup.html +++ b/blog/initial-server-setup.html @@ -140,8 +140,8 @@ ufw enable

Instead of typing out long commands you can alias them, and type a shorthand version.I've written an article about aliases that explains setting up, and aliases I use. Below are some essentials for those that don't want to jump to another article.

alias ll="ls -lhtr"
 alias df="df -h"
-alias lsm="ls -t -1"
-alias count="find . -type f | wc -l"
+alias ta="tmux attach || tmux new" +alias ipe="curl ifconfig.co"

Ctrl-L clear-screen

Sometimes a new system doesn't have this by default, and it's probably the thing I use most after ls.