java - Stop Linux Terminal from going to new line when pressing enter -
i'm working on simple java cypher program. that's why there strange characters.
i'm attempting run command in linux terminal:
user@ubuntu> java code d ÖÝßÛ³eb©«åãáâ¡§ÌÚØ¨¬Ý¢¤¤°kkicÒÒ××⥡ÏÛÛÐë`§ÞØÝßòÓ key with being said, when press enter happens:
user@ubuntu> java code d ÖÝßÛ³eb©«åãáâ¡§ÌÚØ¨¬Ý¢¤¤°kkicÒÒ××⥡ÏÛÛÐë`§ÞØÝßòÓ key > > > > a new line appears each time press enter. how can run command?
this happens because argument contain backtick (`), special shell character. try putting special characters in strong quotes:
user@ubuntu> java code d 'ÖÝßÛ³eb©«åãáâ¡§ÌÚØ¨¬Ý¢¤¤°kkicÒÒ××⥡ÏÛÛÐë`§ÞØÝßòÓ' key single quotes (', distinct `) prevents shell trying interpret argument.
Comments
Post a Comment