How to delete a specific line from a text file (command line), for example.
hello
goodbye
goodbye
hello
hello
hello
goodbye
In this case, I would like to delete all occurrences of "goodbye"
Linux or Windows (until the Linux command is available on GNU)
James source
share