最近用socket编写了一个服务端程序,监听1024端口,检测客户端发来的请求,所在Linux里写启动和停止的脚本: 在Eclipse里java写好程序,右击导出生成 Runnable JAR file 然后socketServer.jar上传到服务器即可. 1.启动 startup.sh # ---------------------------------------------------- # Start script for the Socekt Server # ----------…
w shell confusion..what is diff between bash, ksh, csh, tcsh..?? http://www.linuxquestions.org/questions/linux-newbie-8/shell-confusion-what-is-diff-between-bash-ksh-csh-tcsh-256625/ Code: #! /bin/bash when you write a bash script. You can execute t…