Last Updated: February 25, 2016
·
496
· zhangtai

Quick edit the recent changed file with vi & ls

vi `ls -t | head -1`

ls -t sorts the file by modification time, showing the last edited file first. head -1 picks up this first file.