首页 > 系统服务 > 详细

学习笔记一: linux 基础知识

时间:2016-08-24 17:43:19      阅读:213      评论:0      收藏:0      [点我收藏+]

一 文本编辑器



二 常见命令

2.1 history



2.2 bash

ctrl+a     jump to the beginning of the command line

ctrl+e

ctrl+u

ctrl+k

ctrl+left arrow

ctrl+r


2.3 help pinfo

pinfo cat


/usr/share/doc




三 文件系统


ext4


xfs


btrfs


gfs2



四 正则表达式


*    any string of 0 or more characters.

?    any single character.

~    the current user‘s home directory.

~username   user username‘s home directory.

~+  the current working directory.

~-  the previous working directory.


[abc..]

[[:alpha:]]

[[:lower:]]

[[:upper:]]

[[:idgit:]]



五 输入输出

standard input   0

standard output  1

standard error  2


>> file 2>&1


find /etc -name aaa > /tmp/output 2> /tmp/error



六 进程管理

1.状态: R,S,D,K

2.查看进程状态

ps aux



3.后台运行和前台运行

ctrl+z


jobs


bg


4.kill进程

kill -l   查看信号







三 服务



四  日志分析




五 网络




本文出自 “痞子厨子戏子” 博客,请务必保留此出处http://chenwei.blog.51cto.com/32183/1841957

学习笔记一: linux 基础知识

原文:http://chenwei.blog.51cto.com/32183/1841957

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!