which命令的作用是,在PATH变量指定的路径中,搜索某个系统命令的位置,并且返回第一个搜索结果。也就是说,使用which命令,就可以看到某个系统命令是否存在,以及执行的到底是哪一个位置的命令。 which命令的使用实例: $ which grep
ssh-keygen -t rsa rerere1234
修改/etc/ssh/sshd_config: ChallengeResponseAuthentication no #关闭挑战应答方式 UsePAM no #不使用PAM认证
netstat –apn
nohup command > ~/logs/ & eg: nohup java -jar jenkins.war > ~/logs/ &