piscine-shell01/ex02/find_sh.sh

4 lines
64 B
Bash
Executable File

#!/bin/sh
find . -type f -name "*.sh" -exec basename {} .sh \;