---
title: "Discussion on \"Make Extensionless Files Executable\" | Hashnode"
description: "Discussion on \"Make Extensionless Files Executable\". find . -type f ! -name \"*.*\" -exec chmod +x {} \\;\n\n\"*.*\" is used to match all filenames that contain a '.'\n! -name \"*.*\" is used to find files that do not contain a '.', which usually means files without an extension."
url: "https://hashnode.com/posts/make-extensionless-files-executable/64ab9241091ab1a5908e306f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Make Extensionless Files Executable](https://retriever.hashnode.dev/make-extensionless-files-executable?utm_source=hashnode&utm_medium=feed)

find . -type f ! -name "\*.\*" -exec chmod +x {} \\; "\*.\*" is used to match all filenames that contain a '.' ! -name "\*.\*" is used to find files that do not contain a '.', which usually means files without an extension.

Jul 10, 2023 · 1 min read · retriever.hashnode.dev  
Read the article

-   [#executables](https://hashnode.com/tag/executables)
-   [#bash-script](https://hashnode.com/tag/bash-script)

## Written by

[Retriever](https://hashnode.com/@Retriever)

@Retriever

  
[View profile](https://hashnode.com/@Retriever)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
