F5F Stay Refreshed Software Operating Systems Bash Scripting help

Bash Scripting help

Bash Scripting help

Pages (2): Previous 1 2
S
SillyDragon
Senior Member
586
04-18-2023, 11:25 AM
#11
Linux appears content executing the script despite a flawed shebang. Ensure the line starts with #!/bin/bash without extra spaces or incorrect formatting.
S
SillyDragon
04-18-2023, 11:25 AM #11

Linux appears content executing the script despite a flawed shebang. Ensure the line starts with #!/bin/bash without extra spaces or incorrect formatting.

A
ash_n_brad
Posting Freak
778
04-18-2023, 12:25 PM
#12
Absolutely, I learned it the way I've always done it.
A
ash_n_brad
04-18-2023, 12:25 PM #12

Absolutely, I learned it the way I've always done it.

E
eastland97
Senior Member
644
04-18-2023, 05:05 PM
#13
Add unix2dos and Dos2unix during your Linux setup. Execute Dos2unix with the full path to test1 if it isn’t in the same folder. This will transform Windows line endings into Linux ones, ensuring \r\n becomes \n
E
eastland97
04-18-2023, 05:05 PM #13

Add unix2dos and Dos2unix during your Linux setup. Execute Dos2unix with the full path to test1 if it isn’t in the same folder. This will transform Windows line endings into Linux ones, ensuring \r\n becomes \n

Pages (2): Previous 1 2