Lewis Youl

How to Create Bash Aliases and Functions

If you find yourself regularly typing out the same long commands in your terminal you might find creating a bash alias handy. A Bash alias allows you to create a shortcut to a longer command. For even more flexibility you can create bash functions which accept arguments that are passed from the command line. This post will discuss when bash functions and aliases are appropriate and how to implement them.

19 Feb 2020-
Bash

Copying the entire contents of a directory to another directory

How to copy the entire contents of one directory over to another directory in a single command.

01 Nov 2019-
Bash

Running ruby scripts from the command line

Ruby is most heavily associated with web development thanks to the Ruby on Rails framework, however much like any other programming language it can be used to write command line programs. Here I walk through writing and a very simple ruby program via the command line.

30 Jan 2019-
Bash Ruby