Write a self-executable bash script that takes one text argument and scans the /bin folder (ignoring subfolders) for all files and folders that contain this given string as part of their name. For each matching file or folder, the file/folder name is reported (without folder path) as well as the number of letters of the file/folder name (within brackets).

In case there are no matching file or folders, the error message “No matching files” should be written to standard output (without any other output).

Some example executions of the script could look as follows:

$ ./script.sh pig
pigz (4)
unpigz (6)

$ ./script.sh test
ctest (5)
ctest3 (6)
dbus-test-tool (14)
dltest (6)
gr2fonttest (11)
grub2-fstest (12)
gtester (7)
gtester-report (14)
sctp_test (9)
sg_test_rwbuf (13)
test (4)

$ ./script.sh garbage
No matching files