To remove the first comma in
every line within the file (and not simply the first comma in the file as a whole):
Code:
sed -i.backup 's@,@@' filename
This will modify the file directly, but store an unmodified, backup copy of the file as
filename.backup.