Przejdź do treści

ora-600.com

Notatki z działań, rozwiazywanie problemów itp. (głównie oracle i linux)

  • Strona główna
  • Ściąga
  • Info

Tag: /bin/bash^M: bad interpreter

script.sh: /bin/bash^M: bad interpreter: No such file or directory

Opublikowano 2021-05-142021-05-14 przez Wiech

Błąd podczas uruchomienia skryptu (bo został utworzony pod wind):
x.sh: /bin/bash^M: bad interpreter: No such file or directory

– zmiana (można wybrać 2 albo 3 jeżeli jest pakiet w OS-ie):
sed -i -e 's/\r$//’ script_loop.sh
sed -i -e 's/^M$//’ script_loop.sh
dos2unix script_loop.sh

Przejdź do stopki

Ostatnie wpisy

  • ORA-24777: use of non-migratable database link not allowed
  • ORA-02020: too many database links in use
  • RDS Oracle DB REDO dodanie, usuniecie itd.
  • OPatchauto: Unable to execute command : Can’t open perl script RemoteHostExecutor.pl
  • OPATCHAUTO-72043,

Kategorie

  • ACFS (1)
  • Adrci (1)
  • AIX (2)
  • ASM (2)
  • Bez kategorii (3)
  • Data Guard (2)
  • Database (48)
  • EBS (1)
  • Exadata (5)
  • Expdp (1)
  • GoldenGate (2)
  • Grid (5)
  • Linux (13)
  • MS Exchange (1)
  • MS SQL (1)
  • Networker (1)
  • Oracle (24)
  • Oracle Database (24)
  • Oracle Database 11g (8)
  • Oracle GoldenGate (2)
  • Oracle Grid (2)
  • Oracle rman (3)
  • Powershell (1)
  • RDS (1)
  • RMAN (9)
  • Ściąga (7)
  • SQLDeveloper (1)
  • SQLPlus (2)
  • Windows (1)
  • Zabbix (1)
  • ZFS (1)

© ORA-600.com

Dumnie wspierane przez WordPress | Motyw: Yocto stworzony przez Humble Themes.