Using ls, how to list files without printing the extension (the part after the dot)? June 6, 2023 by Tarik using sed? ls -1 | sed -e 's/\..*$//'