linux
Limo·Li
这个作者很懒,什么都没留下…
展开
-
查询进程并排除自身进程
ps -ef | grep java ps -ef | grep java | grep -v grep ps-ef | grep [j]ava原创 2023-05-10 15:18:51 · 647 阅读 · 0 评论 -
centos修改IP地址
先通过ifconfig查到对应网卡或直接进入到对应文件夹[root@MiWiFi-R4A-srv ~]# ifconfigens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.31.87 netmask 255.255.255.0 broadcast 192.168.31.255 inet6 fe80::ce50:4b22:f8b:69ed prefixlen原创 2021-07-14 22:11:41 · 273 阅读 · 0 评论 -
linux-centos基础配置
1、查看当前系统版本[jackson@localhost ~]$ cat /etc/redhat-release CentOS Linux release 8.3.20112、查看防火墙状态,相关参数:start | status | stop命令1 service firewalld status[jackson@localhost ~]$ service firewalld statusRedirecting to /bin/systemctl status firewalld原创 2021-07-14 21:17:28 · 113 阅读 · 0 评论 -
nohup常用写法
nohup java -jar XXX.jar >/dev/null 2>&1 &原创 2020-05-25 11:53:43 · 408 阅读 · 0 评论 -
初识SHELL脚本编写
shell脚本是一种shell编写的脚本程序,简单来说就是将linux命令加上对应的语法结构,linux命令是基础 常见shell种类:Bourne Shell、Bourne Again Shell、C Shell、K Shell、Shell for Root. 在一般情况下,人们并不区分 Bourne Shell 和 Bourne Again Shell,所以,像#...原创 2019-11-10 19:52:50 · 102 阅读 · 0 评论