随笔分类 -  Linux

摘要:netstat -anp |grep 端口号 阅读全文
posted @ 2020-08-14 15:45 不知起什么名字 阅读(111) 评论(0) 推荐(0)
摘要:1.生成a.out可执行文件 g++ helloworld.cpp 2.生成helloworld.out文件 g++ helloworld.cpp -o helloworld 3.执行xxx.out文件 ./xxx.out 阅读全文
posted @ 2020-07-20 10:55 不知起什么名字 阅读(1208) 评论(0) 推荐(0)
摘要:pwd 阅读全文
posted @ 2019-11-20 11:16 不知起什么名字 阅读(3046) 评论(0) 推荐(1)
摘要:df -lk //单位为KB df -lm //单位为MB 阅读全文
posted @ 2019-11-20 11:12 不知起什么名字 阅读(123) 评论(0) 推荐(0)
摘要:du -h --max-depth=1 阅读全文
posted @ 2019-11-20 11:10 不知起什么名字 阅读(1381) 评论(0) 推荐(0)
摘要:1.下载:根据主机系统下载合适的版本,当前64为centos系统演示下载: wget http://www.rarlab.com/rar/rarlinux-x64-5.3.0.tar.gz 2.解压安装 tar xvf rarlinux-x64-5.3.0.tar.gz cd rar make in 阅读全文
posted @ 2019-09-11 11:34 不知起什么名字 阅读(647) 评论(0) 推荐(0)
摘要:安装完Ubuntu后忽然意识到没有设置root密码, 不知道密码自然就无法进入根用户下。Ubuntu的默认root密码是随机的, 即每次开机都有一个新的root密码。我们可以在终端输入命令 sudo passwd, 然后输入当前用户的密码,enter,终端会提示我们输入新的密码并确认, 此时的密码就 阅读全文
posted @ 2019-06-05 22:38 不知起什么名字 阅读(689) 评论(0) 推荐(1)
摘要:转载 https://blog.csdn.net/qq_27803491/article/details/52785838 01-.tar格式 解包:[*******]$ tar xvf FileName.tar 打包:[*******]$ tar cvf FileName.tar DirName( 阅读全文
posted @ 2019-06-05 14:03 不知起什么名字 阅读(121) 评论(0) 推荐(0)
摘要:启动与停止 1、启动 MySQL安装完成后启动文件mysql在/etc/init.d目录下,在需要启动时运行下面命令即可。 [root@test1 init.d]# /etc/init.d/mysql start 或者:service mysql start 或者:systemctl start m 阅读全文
posted @ 2019-06-05 11:24 不知起什么名字 阅读(744) 评论(0) 推荐(0)
摘要:系统环境: [root@localhost ~]# cat /etc/RedHat-release CentOS release 6.7 (Final)[root@localhost tools]# uname -aLinux localhost 2.6.32-573.22.1.el6.x86_64 阅读全文
posted @ 2019-06-05 09:45 不知起什么名字 阅读(382) 评论(0) 推荐(0)