176 reputation
3
bio website twitter.com/RobKielty
location Dublin, Ireland
age 43
visits member for 3 years, 5 months
seen yesterday

Aug
10
comment Changing default Java Runtime Environment from 1.8 to 1.7
Add the content of your Launch4j error to the question.
May
6
answered How could I use ic command in bash?
Nov
20
answered Alt-tab icon list in Gnome and metacity?
May
1
awarded  Supporter
May
1
awarded  Teacher
Apr
27
comment How come cd doesn't work in my shell script?
No worries! @ChrisStratton was the one who spotted the carriage return character.
Apr
27
comment How come cd doesn't work in my shell script?
I just had a hunt around for how to modify the settings on WinVi but to no avail. Have you considered using vim or Notepad++?
Apr
27
comment How come cd doesn't work in my shell script?
There is a difference between how lines in a file are terminated on Windows and Linux. That's why you are getting the carriage return character in there. If you want to continur using WinVi you could check the settings of the editor so that you saved the file as a UNIX file with UNIX line termination. I'll look that up.
Apr
27
comment How come cd doesn't work in my shell script?
Might be a good idea to copy and paste both the command and also the output that will make it easier for us to troubleshoot. And put it as a code clock in the question rather that in one of these comments.
Apr
27
comment How come cd doesn't work in my shell script?
Sorry you should use the name of the file.
Apr
27
answered How come cd doesn't work in my shell script?
Mar
15
awarded  Autobiographer