Questions and Answers
ls
格式:ls 【-选项】 【参数】 选项: -a 显示所有文件,包括隐藏文件。(隐藏文件及目录以“.”开头) -l 显示详细信息 -d 显示目录属性 -i 显示文件inode号 -h 人性化显示文件大小 -R 递归显示目录及子目录 -n 显示文件UID(user ID)和GID(group ID)
touch
(创建新空文件\更新修改和访问时间)
Linux文件命名规则
1.除了/字符,其他字符全部合法(因为/字符有根目录和上下级目录分隔符的含义) 2.有些字符不要使用(如*、¥、#等)(常见可用符号:-、_、.) 3.“.”开头代表为隐藏文件,如不需要不要使用 4.Linux严格区分大小写 5.命名长度不能超过255个字符
mkdir
Signup and view all the answers
cd
Signup and view all the answers
pwd
Signup and view all the answers
文件详细信息的具体含义
Signup and view all the answers
tty
Signup and view all the answers
路径
Signup and view all the answers
swap分区大小推荐
Signup and view all the answers
tree
Signup and view all the answers
安装tree命令
Signup and view all the answers
pstree
Signup and view all the answers
cp
Signup and view all the answers
mv
Signup and view all the answers
rm
Signup and view all the answers
rmdir
Signup and view all the answers
cat
Signup and view all the answers
more
Signup and view all the answers
less
Signup and view all the answers
head
Signup and view all the answers
tail
Signup and view all the answers
ln
Signup and view all the answers
文件系统
Signup and view all the answers
软、硬链接的区别
Signup and view all the answers
chmod
Signup and view all the answers
chown
Signup and view all the answers
chgrp
Signup and view all the answers
umask
Signup and view all the answers
which
Signup and view all the answers
whereis
Signup and view all the answers
locate
Signup and view all the answers
find
Signup and view all the answers
通配符
Signup and view all the answers
find按inode号查询
Signup and view all the answers
find按文件类型查询
Signup and view all the answers
find按文件权限查询
Signup and view all the answers
find根据文件所有人查找
Signup and view all the answers
find根据文件所属组查询
Signup and view all the answers
find根据大小查找
Signup and view all the answers
find根据时间查询
Signup and view all the answers
find根据文件名称查找
Signup and view all the answers
find特殊选项 “ - ”逻辑链接符
Signup and view all the answers
find特殊选项 : 命令执行链接符(对查找到的文件,进一步处理)
Signup and view all the answers
xargs
Signup and view all the answers
grep
Signup and view all the answers
管道符
Signup and view all the answers
man
Signup and view all the answers
help
Signup and view all the answers
内核、shell层
Signup and view all the answers
type
Signup and view all the answers
-- help
Signup and view all the answers
info
Signup and view all the answers
ping
Signup and view all the answers
ifconfig
Signup and view all the answers
ifconfig查看网络状态
Signup and view all the answers
ifconfig临时修改网卡IP地址
Signup and view all the answers
永久修改网卡IP地址
Signup and view all the answers
ifconfig 添加多个临时IP地址
Signup and view all the answers
ifconfig 删除临时IP
Signup and view all the answers
添加真实网卡
Signup and view all the answers
停止、重启、启动网络服务
Signup and view all the answers
w
Signup and view all the answers
who
Signup and view all the answers
last
Signup and view all the answers
lastlog
Signup and view all the answers
write
Signup and view all the answers
wall
Signup and view all the answers
Signup and view all the answers
netstat
Signup and view all the answers
常见端口
Signup and view all the answers
关机
Signup and view all the answers
常见init运行级别
Signup and view all the answers
重启
Signup and view all the answers
sync
Signup and view all the answers
mount #挂载或查询系统中已经挂载的设备
Signup and view all the answers
mount特殊选项:
Signup and view all the answers
挂载iso文件
Signup and view all the answers
挂载注意事项
Signup and view all the answers
tar
Signup and view all the answers
打包和压缩的好处
Signup and view all the answers
压缩
Signup and view all the answers
对/boot/grub 目录打包并解包
Signup and view all the answers
指定解压目录
Signup and view all the answers
把两个目录或目录+文件打包成一个软件包
Signup and view all the answers
在打包过程中跳过某一文件或多个文件
Signup and view all the answers
不解包,查看tar中内容
Signup and view all the answers
tar 归档+压缩
Signup and view all the answers
zip
Signup and view all the answers
tar和zip的区别
Signup and view all the answers
file
Signup and view all the answers