• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ️ Info: The website has been modernized to improve readability and smartphone compatibility. Feel free to report any bugs using the contact form

    Remove first line of a file


    Introduction

    Using sed, it's possible to remove the first line of a file

    Example:

    • sed '1d' file.txt
    • sed '1d' file.txt > file2.txt

     

    Go back



    (c) 2005-2025 Jérôme DESMOULINS
    Data privacy