linux笔记
Unix: 内核不是开放的。 1969 年 贝尔实验室 c 语言 (Solaris-oracle/HP-UNIX/AIX-IBM) Linux:Unix 的一个变种, Unix Like 类 Unix 的操作系统。 内核源码免费开发。。。。芬兰大学生 1991 林纳斯 - 托瓦兹 基本思想:一切都是文件 ( 命令、硬件设备、进程对于内核来说都是文件 ) 常用的发行版本 1.RedHat( 小红帽公司 ) 商业版 2.CentOS( 小红帽公司 ) 社区版 3.Ubuntu 基于桌面版本 虚拟机:虚拟化技术 Virtual Machine(VM), 通过软件模拟出一个具有完整硬件系统的计算机系统 ( 完全隔离的环境 ) 生成现有操作系统的全新虚拟映像。。。。。 Virtual Box 单机开发 / 免费 命令 :切换 root 用户 1.su root 2. 输入密码: caiwei 查看网卡: ifconfig 禁掉网卡: ifconfig 网卡名 down 开启网卡: ifconfig 网卡名 up 获取网卡 ip:dhclient eth0 查看进程的状态: ps -ef|grep sshd 结束进程 kill -9 PID(1529) 开启服务: service sshd start 重启服务: service sshd restrat 清屏: clear 切换普通用户: