Skip to content

Instantly share code, notes, and snippets.

@hanminghui
Last active November 6, 2026 07:03
Show Gist options
  • Select an option

  • Save hanminghui/0c594d2ce721a096cc4b8048b95b9c32 to your computer and use it in GitHub Desktop.

Select an option

Save hanminghui/0c594d2ce721a096cc4b8048b95b9c32 to your computer and use it in GitHub Desktop.
[Linux Commands] some linux commands #linux
# chmod [OPTION] [MODE] [FILE]
# mode: '[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+'
# [ugoa] user, group, others(not in group), all
# [-+=] remove, add,
# [rwxXst] read, write, execute,
chmod u+x filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment