ZKX's LAB

linux服务器shutdown了怎么重启 linux 服务器 进程 自动重启

2021-04-28知识9

linux 服务器怎么重启步骤 一、Linux 的五个重启命令1、shutdown2、poweroff3、init4、reboot5、halt通用命令:1、date:print or set the system date and time2、stty-a:可以查看或者打印控制字符(Ctrl-C,Ctrl-D,Ctrl-Z等)3、passwd:print or set the system date and time(用passwd-h查看)4.logout,login:登录shell的登录和注销命令5、pwd:print working directory6、more,less,head tail:显示或部分显示文件内容.7、lp/lpstat/cancel,lpr/lpq/lprm:打印文件.8、更改文件权限:chmod u+x.9、删除非空目录:rm-fr dir10、拷贝目录:cp-R dir11、fg jobid:可以将一个后台进程放到前台。Ctrl-z 可以将前台进程挂起(suspend),然后可以用bg jobid 让其到后台运行。job&可以直接让job直接在后台运行。12、kill 的作用:send a signal to a process.eg:kill-9 发送的是SIG_KILL信号。具体发送什么信号 可以通过 man kill 查看。13、ps 的用法,ps-e 或 ps-o pid,ppid,session,tpgid,comm(其中session显示的sessionid,tpgid显示前台进程组id,comm显示命令名称。

linux下如何重启tomcat,liux+tomcat作为目前主流的we服务器,我们经常需要部署项目上去,那么我们如何手动重启tomcat呢?

linux服务器shutdown了怎么重启 我用ssh管理linux服务器,我手贱,只打了shutdawn。然后连接就断了,现在ssh无法连接,有没有办法启动服务器啊,好像是从马云爸爸那里淘。

随机阅读

qrcode
访问手机版