Linux速查
来源:互联网 发布:it类书籍 编辑:程序博客网 时间:2024/06/11 11:26
cat /etc/issue 可以查看当前正在运行的Ubuntu 的版本号
apache2:a2ensite name添加一个网站 a2dissite name卸载一个网站
a2enmod autoindex开启遍历目录 a2dismod autoindex关闭
都需要service apache2 restart才可生效
crontab –e 修改
ctrl + o后回车保存,Ctrl + x退出,service cron restart重启后生效。
crontab –r 删除所有
netstat -tlun 查看本机监听的端口
netstat -an 查看本机所有的网络连接
netstat -rn 查看本机路由表
tar –zcf destination sname 压缩
tar –xzvf 解压缩
.gz gzip gunzip(gzip -d)
.tar tar -cf -xf
.tar.gz tar -zcf -zxf
.zip zip -r unzip
.bz2 bzip2 bunzip2
.tar.bz2 tar -cjf -xjf
du –sh dirname 查看文件夹大小
wget –r –c –np –nd –L http://..../
下载网址下链接的文件
atrm删除待执行任务队列中的指定任务 atq列举
ls | wc –w 当前目录下的文件数量
Ubuntu 全局环境变量 /etc/environment文件
ctrl + z当前任务放到后台 fg:调出后台任务
0 0
- Linux 命令速查
- Linux命令速查
- Linux命令速查
- Linux常用命令速查
- Linux 命令速查
- Linux 命令速查
- Linux常用命令速查
- linux 命令速查
- Linux常用命令速查
- Linux 命令速查
- Linux常用命令速查
- Linux常用命令速查
- Linux命令速查
- linux笔记速查
- Linux 常用命令速查
- Linux速查
- linux makefile 速查
- Linux命令速查
- C和C++中struct和typedef struct的分析
- 最长公共子序列
- iptables笔记
- 一、andoid基础之四大组件
- Linux Bash shell 使用
- Linux速查
- 文件练习
- 【C#】构造方法
- 学习笔记:Network in Network(NIN)
- AJAX
- OPPO Find5 X909T ColorOS1.0系统精简笔记
- MFC多线程 —— 线程同步
- POJ3463【次短路】
- Learn Python the Hard Way 5: Ex03 Numbers and Math