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