Bash substitua linha específica no arquivo
# Basic syntax:
sed '<row_number>s/.*/<replacement_text>/' your_file
# Where:
# - The row_number is the row your want to replace with the
# replacement_text
# - .* means match anything on that row (so it can be replaced)
Charles-Alexandre Roy