第3章 CentOS常用命令】的更多相关文章

一.CentOS常用命令 1.1 文件和目录 # cd /home                        进入 '/home' 目录 # cd ..                                返回上一级目录 # cd ../..                             返回上两级目录 # cd -                                 返回上次所在目录 # cp file1 file2                    将…
应用程序->附件->终端 一:使用CentOS常用命令查看cpumore /proc/cpuinfo | grep "model name"   grep "model name" /proc/cpuinfo   [root@localhost /]# grep "CPU" /proc/cpuinfo   model name      : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz   …
下面,就给大家介绍这些CentOS常用命令. 一:使用CentOS常用命令查看cpu more /proc/cpuinfo | grep "model name" grep "model name" /proc/cpuinfo [root@localhost /]# grep "CPU" /proc/cpuinfo model name : Intel(R) Pentium(R) Dual CPU E2180 @ .00GHz model nam…
一:使用CentOS常用命令查看cpumore /proc/cpuinfo | grep "model name" grep "model name" /proc/cpuinfo [root@localhost /]# grep "CPU" /proc/cpuinfo model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz model name : Intel(R) Pentium(R)…
1. 查看进程 ps -a 杀掉进程 kill PID 2. 添加计划任务crontab -e 例如:30 21 * * * service httpd restart 每天21:30重启apache 查看crontab状态 service crond status 3.find / -name jiangkong.zip 4.centos修改主机名命令 需要修改两处:一处是/etc/sysconfig/network,另一处是/etc/hosts,只修改任一处会导致系统启动异常.首先切换到ro…
第三章Linux常用命令 一.文件处理命令 1.命令格式 2.目录处理命令:ls 3.目录处理命令:mkdir 4.文件处理命令: touch…
常用命令: 文件和目录: # cd /home                        进入 '/home' 目录 # cd ..                                返回上一级目录 # cd ../..                             返回上两级目录 # cd -                                 返回上次所在目录 # cp file1 file2                    将file1复制为fi…
不多说,直接上干货! cat是查看文件内容, cp –cp是连目录及件文件都拷贝 cp是拷贝文件 a.txt里的内容是,   abc   def   ghi cat a.txt |grep –v ghi 得到结果,    abc    def   head - a.txt 得到结果, abc def cat .txt .txt >.txt 重镜像为3.txt cat /dev/.txt cp -cp 源目录 目标目录 cp –ap ./c b/ 1.txt原内容是I am zhouls,往1.t…
CentOS常用到的查看系统命令 uname -a cat /etc/issue /sbin/ifconfig # 查看内核/操作系统/CPU信息 head -n 1 /etc/issue # 查看操作系统版本 cat /proc/cpuinfo # 查看CPU信息 hostname # 查看计算机名 lspci -tv # 列出所有PCI设备 lsusb -tv # 列出所有USB设备 lsmod # 列出加载的内核模块 env # 查看环境变量 #资源 free -m # 查看内存使用量和交…
课程目录链接 快速上手Linux玩转典型应用-目录 目录 1. 软件操作命令 2. 服务器硬件资源信息 3. 文件操作命令 4. Linux文本编辑神器vim与其他常用命令 5. 系统用户操作命令 6. 防火墙的设置 7. 提权和文件上传下载的操作 ============================================================== 1. 软件操作命令 演示准备: Windows系统中使用Xshell,先连接到虚拟机,再在Xshell中进行操作 演示: (…