Multics
Unics
Uni
Unix
NCP
TCP/IP
*** 如命令前的提示符为$表示操作者是root, 如是#则代表普通用户
几个常用命令:
~]# which vi
~]#rpm -qf /bin/bi (vi 属于哪个包)
~]# rpm -ql
(vim是vi的升级版本)
~] # rpm -qa | grep vim //-qa中的a表示“all”, “|”是管道符,“grep vim”指所有软件包,只跟vim相关
~] # touch File01 // 创建文件File01
SetUID
rwxrwxrwx------777
r = 4 , w = 2, x = 1;
~]# chmod u+s // "s"代表"SetUID"
~]# chmod o+t /test
cat
su - Linda // 切换到用户Linda
sudo
粘着位t
chattr
使用“chattr +i”命令后,连root都不能对其删除和编辑,只有通过“chattr -i”才能去掉其功能属性
ACL--访问控制列表(windows中也有此概念)
~]# setfacl -m u:Linda
~]# cat /etc/sysconfig/i18n // 改成空的, 即是缺省英文
~]# su - root
~]# shutdown -h now
2个常见英文提示:
* Command not found
* Not much file or directory
注:本笔记来源于2010-01-05的李明老师的Linux课。