sed command remove white space end of line Md. Shahzad Alam - 14:02 0 Edit Command to remove while space end of line in linux sed 's/ *$//'