sh script won't run, (unexpected end of file) but the individual lines execute fine

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=kmTur-EfTYM



Duration: 1:58
4 views
0


sh script won't run, (unexpected end of file) but the individual lines execute fine
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/549399/david-conway)David Conway |
(unix.stackexchange.com/users/539604/james-risner)James Risner |
A special thanks goes out to the (https://unix.stackexchange.com/questions/725191/sh-script-wont-run-unexpected-end-of-file-but-the-individual-lines-execute-f)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

shell-script debugging




Other Videos By Peter Schneider


2022-11-19Find the total size of certain files within a directory branch
2022-11-19How can I make flow to be run by specific user only?
2022-11-19How to avoid being asked passphrase each time I push to Bitbucket
2022-11-19What do options `ServerAliveInterval` and `ClientAliveInterval` in sshd_config do exactly?
2022-11-19How do I find out what hard disks are in the system?
2022-11-19Keep processes running after SSH session disconnects
2022-11-19C Preprocessor, jumping out of #ifdef
2022-11-19How can I calculate the size of a directory?
2022-11-19Composer versioning (what does each number means?)
2022-11-19Is any account or data undeletable?
2022-11-19sh script won't run, (unexpected end of file) but the individual lines execute fine
2022-11-19"This file came from another computer..." - how can I unblock all the files in a folder without h...
2022-11-19Are there naming conventions for variables in shell scripts?
2022-11-19What is the difference between shell, console, and terminal?
2022-11-19How to skip "permission denied" errors when running find in Linux?
2022-11-19Unzipping a .gz file without removing the gzipped file
2022-11-19How to list Chocolatey packages already installed and newer version available from the command line
2022-11-19How do I convert an epoch timestamp to a human readable format on the cli?
2022-11-19How can I provoke Windows to hang (freeze)?
2022-11-19Terminal prompt not wrapping correctly
2022-11-19How can I convert all forms of a specific word in a String to lowercase?



Tags:
shell-script
debugging