Linux 常用命令
来源:互联网 发布:mac手写输入法怎么取消 编辑:程序博客网 时间:2024/06/16 11:03
查询类命令
[..] [~] [.] [-] [./]
change directory Shell pwd -L -P print name of current/working directory /bin/ 查询当前工作目录 whatis what is it ? Shell 简单查询命令 whereis where is it /usr/bin/ 命令或文件所在位置查询 which which /usr/bin/ 搜索所在目录及别名信息 umask the user file creation mask Shell 查看当前新建文件的权限 lasttr -a -d 查看目录特殊权限 getfacl -s -a -d ACL /usr/bin/ 查看ACL权限 ls -a -l -h -F -id list /bin/ 查看当前目录详细文件列表和文件属性 df -a -h -m disk /bin/ 查询分区挂载信息 mount -l -a -t -L -o mount /bin/ 挂载点命令 du -a -h -s /usr/bin/ 查看目录大小 last -n -a -i last /usr/bin/ 查询用户登陆信息 last log lastlog -b -t -u /usr/bin/ 用户最后登陆时间查询 ifconfig interface configure /sbin/ 查询网络信息 traceroute traceroute /usr/sbin/ 查询数据包经过路径 runlevel Level /sbin/ 查询当前系统运行等级 info info /usr/bin/ 常用帮助命令 man 1~8 manual pages /usr/bin/ 帮助命令 env set bind pstree history free help 操作类命令
文件系统&操作
文件操作命令
[新用户][文件]
change file ownership 修改文件所有者. chgrp [新组][文件]
change file group owership grep sed awk vim dos2unix -k -n unix2dos iconv -f from -t to -o -l 文件编码转换 文件状态查询
压缩&备份命令
-[j/z]tvf[filename]
-[j/z]cv -f[新包名][压缩目标]
-[j/z]xv -f[新包名][-C目录/压缩对象]
.tar.[bz2/gz]
gzip zcat [压缩包]
-cv -[1~9][打包目标]
-d/gunzip[包名]
默认压缩后不保留源文件,>[新名]
bzip2 bzcat [压缩包]
-cvk -[1~9][打包目标]
-d/bunzip[包名]
备份操作 查看命令 tar -jtvf [备份名]
-jcvf [储存名] [备份目标]
dump -juv0 -f [Newfile.dump] [Target]
cpio dd Shell
常用运算符
网络命令
0 0
- 【linux 常用命令】常用命令整理
- linux常用命令
- Linux常用命令
- LINUX 常用命令
- linux常用命令
- Linux 常用命令
- Linux 常用命令
- Linux常用命令
- LINUX常用命令
- Linux 常用命令
- linux常用命令
- Linux常用命令
- Linux常用命令
- Linux 常用命令
- Linux常用命令
- Linux 常用命令
- Linux 常用命令!
- Linux 常用命令
- C学习笔记(五)字符输入\输出
- 整型变量
- MySQL XML解析及數組處理
- sqlalchemy数据库连接池错误
- Python聊天室
- Linux 常用命令
- Linux设备模型之tty驱动架构分析
- 欢迎使用CSDN-markdown编辑器
- ifconfig命令
- gdb学习小结
- 关于客户端缓存网页
- linux下使用autotools创建makefile文件
- Linux下memcache的安装和启动(很好)
- cocos2dx 基础知识体系