Sed todos excepto el último
sed \$d #For grepping all lines of a file except last line
Armandres
sed \$d #For grepping all lines of a file except last line