---
title: "常见命令行手册"
author: "hej748"
date: "2009-07-14T17:53:55Z"
tags: ["Emacs", "Linux", "vim", "网络应用", "防火墙"]
slug: "untitled"
draft: false
lastmod: "2009-07-14T17:53:55Z"
id: 425769
url: "https://hej748.iteye.com/blog/425769"
---

alias - 给命令取别名

alsamixer - 控制台下调节音量

bg - 把任务放到后台

cal - 日历

chown - 改变文件的拥有者

cp - 复制文件

dd - 转换并复制文件

date - 日期时间

emacsclient - 将一个文件发送到emacs服务器，即在当前已打开的emacs中新开一个缓冲区编辑文件

fg - 把任务放到前台

free - 查看内存情况

id - 当前用户

ifconfig - 设置网络interface

jobs - 显示当前运行的任务

kill - 杀死进程 kill -signal \[process\_number] ； kill -9 process\_number

ls - 列出文件列表

mesg - 查看是否接收信息

mkdir - 建立目录文件

mount - mount简单应用 nc - 任意的UDP和TCP连接和监听工具 vi - VIM 基本命令介绍

poweroff - 关机

ps x - 查看进程 常用：ps aux | grep ""

reboot - 重新启动

rm - 删除文件

startx - 启动 X Window 图形界面

uname -r - 查看内核版本

uptime - 查看登录时间

users - 查看登录用户

wall - 发送广播信息

wgets - 下载 非常稳定 可以下载整个站点 info wget 可以得到完整的使用说明

write - 发送信息

xrefresh - 刷新所有窗口的屏幕

/etc/init.d/iptables stop - 关掉防火墙

 

 

来自"[http://www.linux-ren.org/modules/mediawiki/index.php/%E5%B8%B8%E8%A7%81%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%89%8B%E5%86%8C](http://www.linux-ren.org/modules/mediawiki/index.php/%E5%B8%B8%E8%A7%81%E5%91%BD%E4%BB%A4%E8%A1%8C%E6%89%8B%E5%86%8C)"

浏览统计：54,154 次。 最后修订：22:05 2007年6月6日 © Linux 人.