1、系统架构
Intel:IA-32(X86)
AMD:X86-64
IBM:Power
MOTO:M68k
IBM\M68k\APPLE:Power-pc
HP:安腾
SUN:Ultrasparc
ARM,MIPS
2、API(Application Programming Interface,应用程序编程接口)是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件的以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。API除了有应用“应用程序接口”的意思外,还特指 API的说明文档,也称为帮助文档。(参考)
3、虚拟终端(tty)、模拟终端(pts)、串行终端
4、重用命令:
startx & startx -- :1 &
ctrl+shift+c/v
shift+pageup/pagedown
alt+F9/F10
ctrl+shift+t
ctrl+pageup/pagedown
5、命令
内部命令(shell内)、外部命令(可执行程序)
type查看 hash查看最近常用命令 echo $PATH su sudo id finger
history+n查看历史命令(倒数前n个)-c清空历史命令列表
!!
!string
!n
!-n
!$/ESC+.
^old^new
ctrl+r
6、LFS(Linux From Scratch)
linus--Linux内核
redhat--GNU/Linux 二进制,提供安装,封装发行
redhat版本
IBM:AIX
HP:Hp-UX
ORCALE:solaris
7、date clock hwclock -w hwclock -s
8、帮助:-h --help man(/usr/share/man /usr/local/man) whatis(/usr/share/doc) info
9、文件系统目录 FHS规范
/
/boot
/swap
/etc
/tmp
/misc
/opt
/usr
/srv(server)
/proc
/sys
/dev /udev
/lib(libray) /usr/lib /usr/local/lib ld.so.conf ld.so.conf.d /*.conf
bin sbin
10、touch cd mkdir tree rmdir rm(-i-r-f) file cp(-p-f-r/R-a-i) ll(-d-a-A-R-r-i)
11、文件类型
-
d
c
b
s
p
12、三个时间:(系统调优)
访问时间(access)-a
修改时间(modify)-m
改变时间(change)-t
stat touch alias命令别名
13、UID -- /etc/passwd /etc/shadow
GID -- /etc/group /etc/gshadow
用户账号:root--管理员
1-499 --系统用户
500<UID<60000 --普通用户
chmod
chown
chgrp
14、suid sgid sticky
转载于:https://blog.51cto.com/negiup/449067