Bash löschen Sie die letzte Zeile einer Datei
# Basic syntax:
sed -i '$d' input_file
# Note, -i means that the input_file will be modified in place
Charles-Alexandre Roy
# Basic syntax:
sed -i '$d' input_file
# Note, -i means that the input_file will be modified in place