You can specify a range of lines to operate on. For example, to operate on all lines, (which is of course the default):
sed -e \"1,$ s/a/b/\"
This command works, too
sed '$d'