Delete all but the last line of a file:
sed -n '$p' file
Conversation
Notices
-
Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Monday, 27-May-2019 10:07:35 EDT Yes, I Know IT ! 🎓
Delete all but the last line of a file:
sed -n '$p' file
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.