Erkan GüzelerforErkan Guzeler's Blogerkanguzeler.com·Jan 11, 2023Adding Text to First and Last Line of File in LinuxHi everyone, Let’s assume that you have many files to that you wanted to add some text to the first line or end line. If you are a Linux user, this is easy to do. I am using sed and tee commands to add something to the file. Firstly, I would like to...1.3K readsteeAdd a thoughtful commentNo comments yetBe the first to start the conversation.