#!/bin/bash cd ~/blog vi $(ls *Z.txt | tail -n 1) $*