#!/bin/sh if [ "$1" = "" ]; then ls /home/steve/.notes else nano /home/steve/.notes/$1 fi