In this short config we will show a multiple options on how to remove a first line from a text file. Here is the content of our sample file.txt.
$ cat file.txt
line1
line2
line3
line4
This is a companion discussion topic for the original entry at https://linuxconfig.org/commands-on-how-to-delete-a-first-line-from-a-text-file-using-bash-shell