随笔分类 - Linux
摘要:1.生成a.out可执行文件 g++ helloworld.cpp 2.生成helloworld.out文件 g++ helloworld.cpp -o helloworld 3.执行xxx.out文件 ./xxx.out
阅读全文
摘要:df -lk //单位为KB df -lm //单位为MB
阅读全文
摘要: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
阅读全文
摘要:安装完Ubuntu后忽然意识到没有设置root密码, 不知道密码自然就无法进入根用户下。Ubuntu的默认root密码是随机的, 即每次开机都有一个新的root密码。我们可以在终端输入命令 sudo passwd, 然后输入当前用户的密码,enter,终端会提示我们输入新的密码并确认, 此时的密码就
阅读全文
摘要:转载 https://blog.csdn.net/qq_27803491/article/details/52785838 01-.tar格式 解包:[*******]$ tar xvf FileName.tar 打包:[*******]$ tar cvf FileName.tar DirName(
阅读全文
摘要:启动与停止 1、启动 MySQL安装完成后启动文件mysql在/etc/init.d目录下,在需要启动时运行下面命令即可。 [root@test1 init.d]# /etc/init.d/mysql start 或者:service mysql start 或者:systemctl start m
阅读全文
摘要:系统环境: [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
阅读全文

浙公网安备 33010602011771号