Linux command: remove all whitespace (including tabs) from left to first word using sed Posted on December 11, 2017 by Viet Luu sed -e 's/^[ \t]*//' Tweet