Skip to content

mkyong.com

  • Spring Boot
  • Java Virtual Threads
  • Contact
  1. Home /
  2. chmod

Tag: chmod

unix / linux February 1, 2017 1 min read by mkyong 0 comments

Linux – How to assign execute permission to a .sh file

On *nix, you can use chmod +x file.sh to make a .sh file executable. Terminal $ ls -lsah total 12K 4.0K drwxr-xr-x 2 mkyong mkyong 4.0K Feb 5 10:24 . 4.0K drwxr-xr-x 17 mkyong mkyong 4.0K Feb 5 10:24 .. 4.0K -rw-r–r– 1 mkyong mkyong 67 Feb 5 10:24 run-script.sh $ chmod +x run-script.sh $ […]

Read more Linux – How to assign execute permission to a .sh file

Recent Posts

  • Java Compact Source File: No Class, No Static Main
  • Java Scoped Values Example
  • Spring Boot RAG Example with Spring AI
  • Java AtomicInteger Example
  • Java Virtual Threads Example
  • Spring Boot Supabase CRUD Example
  • Spring Boot REST Docs Example
  • How to Install Java on Windows (Step-by-Step Guide)

© 2008–2026 mkyong.com

  • About
  • Editorial Policy
  • Contact
  • Code License
  • Privacy Policy
  • Terms of Use