Add different alias examples

Use examples of aliases that I actually use on a daily basis
master
Nathan Steel 4 years ago
parent 5c9bebfa2b
commit 72e2478b6a

@ -140,8 +140,8 @@ ufw enable</code></pre>
<p>Instead of typing out long commands you can alias them, and type a shorthand version.I've written an <a href="#">article about aliases</a> that explains setting up, and aliases I use. Below are some essentials for those that don't want to jump to another article.</p> <p>Instead of typing out long commands you can alias them, and type a shorthand version.I've written an <a href="#">article about aliases</a> that explains setting up, and aliases I use. Below are some essentials for those that don't want to jump to another article.</p>
<pre><code>alias ll="ls -lhtr" <pre><code>alias ll="ls -lhtr"
alias df="df -h" alias df="df -h"
alias lsm="ls -t -1" alias ta="tmux attach || tmux new"
alias count="find . -type f | wc -l"</code></pre> alias ipe="curl ifconfig.co"</code></pre>
<h3>Ctrl-L clear-screen</h3> <h3>Ctrl-L clear-screen</h3>
<p>Sometimes a new system doesn't have this by default, and it's probably the thing I use most after ls.</p> <p>Sometimes a new system doesn't have this by default, and it's probably the thing I use most after ls.</p>

Loading…
Cancel
Save