Question: To permanently remove empty lines from a file called textfile, which command could you use?
- `sed -i '/^$/d' textfile`
- `sed '/^$/d' textfile`
- `cat textfile | sed '/^$/d`
- `sed -i 's/^$//' textfile`
Answer: The correct answer of the above question is Option A:`sed -i '/^$/d' textfile`