command line

Create and extract tar archives compressed with gzip

For some reason I always find it hard to remember how to create and extract gzipped TAR archives, but here is how to do it.

Aug 19, 2013

Finding the latest version of an npm package

Using the view registry info command to show the latest version available of a package in the node package manager.

Aug 21, 2013

Display line numbers using the cat command

A simple feature you one day may be glad you know.

Aug 27, 2013

Hide the desktop icons on Mac OS X

A two step way using the defaults command to hide the icons from the desktop in Mac OS X.

Nov 27, 2013

Display disk usage with the du command

How to display the total of the current directory or a particular directory, as well as listing subtotals (subdirectories).

Dec 5, 2013

A more powerful version of grep

The utility command grep has a more powerful brother that let us use POSIX Extended Regular Expressions.

Jan 31, 2014

Adding a user to the sudoers list in Ubuntu

Stop using root for administrative tasks. Here is how to add a new user to the sudoers list in Ubuntu.

Feb 28, 2014