Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
nSonic
@nSonic@troet.cafe  ·  activity timestamp 2 days ago

Aha: wenn ich unter #macos eine .sh anlege mit ein paar Terminalbefehlen, dann braucht es ein „#!/bin/bash“ am Anfang und ein Chaos +x damit ich es ausführen kann.

Benenne ich sie .command kann ich sie im Finder per Doppelklick ausführen - ABER: dann fragt macOS nach Berechtigungen (warum? Läuft im Terminal doch bereits?) UND es läuft nicht im Verzeichnis wo die Datei liegt sondern im root(?) WTF?

Sorry: mit Windows und einer .bat ist das simpler/logischer

  • Copy link
  • Flag this post
  • Block
Log in

Kakapo Social

Kakapo Social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login