/write -dl1 file.txt - removes the first line. /write -ds"hello" file.txt - removes the first line that begins with "hello". /write -dw"*test*" file.txt - removes the first line that matches the *test* wildcard.