1

[kubuntu] Hidden characters in a bash script?

view story
linux-howto

http://ubuntuforums.org – I just started having problems with a script I made. I can't run the script by double-clicking on it (even after chmod 755), and if I run it in Konsole I get this (I also tried running it with zsh and sh, but they had the same problem as bash): Code: alex@kubuntu:~/.kde/Autostart$ bash -x vpncheck.sh + '#!/bin/bash' vpncheck.sh: line 1: #!/bin/bash: No such file or directory + real_ip=xxx.xxx.xxx.xxx + check_interval=60 + IFS='|' + client=ktorrent + allow_multiple=0 + lockfile=/tmp/.vpncheck.lock + keep_logs=0 + max_logs=10 + archive=archive + log_dir=/home/alex/.vpncheck + (Hardware)