---
title: "Linux 基本操作命令"
author: "network-eagle"
date: "2014-03-08T22:27:25Z"
tags: []
categories: ["互联网"]
slug: "linux"
draft: false
lastmod: "2014-03-08T22:36:00Z"
id: 2028403
url: "https://network-eagle.iteye.com/blog/2028403"
---

我把最近搭建项目中常用的命令整理了一下

ftp xxx.xxx.xx.x

解压
unzip  xxx.zip

删除文件夹 没提示 
rm -rf xxx 

删除文件 没提示
 rm -if xxxx.xxx

文件夹覆盖
 /bin/cp -avpf   /root/xxx /usr/xxx
如果更改一个目录及目录下的所有子文件，命令如下
chmod -R 777 《文件或目录名》

防火墙
 service network start
service network stop

查看
vi xxx/xxx.xx

rpm 

find

查看服务器的状态

top
free -m
df -lh

当然还有 
ls
pwd
kill -9 pid
等等