Mac tutorials and how-to articles

How to do redo in vi (undo of last undo)

In case there are two many undo done, vi redo can be used. One redo Approach 1 [ESC] + [CTR] + r Approach 2 [ESC] read more

Linux – Yesterday’s Date in YYYYMMDD format

Linux Bash code for yesterday’s date in YYYYMMDD format $ date –date=”yesterday” +”%Y%m%d” 20151128 $ date –date=”-1 days” +”%Y%m%d” 20151128 Mac Bash code for yesterday’s read more