linux_base_commond_one
1.cd commond
a. cd usr 切换到该目录下usr目录 b. cd ../ 切换到上一层目录 c.cd / 切换到系统根目录 d. cd ~ 切换到用户主目录 e. cd - 切换到上一个所在目录
2.directory commond
a.create directory commond
mkdir directory_name
b.query directory
ll or ls
c.find directory commond
find directory parameter
eg find /root associate with test directory find /root -name 'test*'
d.modify directory name
mv old_directory_name new_directory_name
e.move directory location
mv directory_name directory_location
mv test /usr
f.copy directory
cp -r /usr/copy_directory /temp/copy_to_directory
g.delete directory
rm -rf directory or rm -r directory
3.file manipulate
a.create file commond
touch file_name.txt
b.select file commond
cat file_name.txt show finally screen
more file_name.txt exit press q
less file_name.txt pagedown pageup exit with q
tail -10 file_name.txt show last ten exit ctrl + c
c.modify file content
vi a.txt entry i/o/a exit and keep esc + : + wq exit and nokeep esc+:+q+!
4.compression manipulate file commond
a.packing and compression files
tar after(packing_and_compressing_file_name) packing_file
tar -zcvf name.tar.gz a.txt b.txt c.txt or tar -zcvf name.tar.fz /test/*
z use gizp commond compressing c packing_file v view_complier_process f point_file_name
b.decompression commond
tar -xvf name.tar.gz x stand_for_decompression
tar -xvf name.tar.gz -C /usr -C indicate_unzip_location
5.other commond
a.show current location
pwd
b.search character in file commond
grep character_in_file sudo.conf
grep character sudo.conf --color default color is red
c.pipe commond
pipe commond is before output comm ond as current directory input commond
ps -ef | grep system a.select all process b.select process with character system
d.look process
ps -ef
e.kill process
kil -9 pid pid is find from ps -ef
f.network communication commond
1.look up current network card information
ifconfing
2.query communication information
ping ip_address
3.check current system ports use information
netstat -an
linux_base_commond_one的更多相关文章
随机推荐
- 第六次meeting会议
[Beta] 第六次Daily Scrum Meeting 一.本次会议为第六次meeting会议 二.时间:10:00AM-10:20AM 地点:禹州楼 三.会议站立式照片 四.今日任务安排 成员 ...
- 团队作业4——第一次项目冲刺(Alpha版本)4.26
一.当天站立式会议照片 本次会议主要内容:汇报工作进度,根据完成情况调整进度,分配各自接口编写任务. 二.每个人的工作 三.燃尽图 横坐标:工作日,以天为单位,一共七天,代表着Alpha冲刺阶段的时间 ...
- 结对实验---基于GUI的四则运算
详细代码:https://git.coding.net/wangluo24/NO.2.git 结对伙伴:吕志哲(201421123021) &本人.许明涛 201421123024 一.题目要 ...
- 【Beta】 第七次Daily Scrum Meeting
第七次meeting会议 [Beta] 第七次Daily Scrum Meeting 一.本次会议为第七次meeting会议 二.时间:10:00AM-10:20AM 地点:禹州楼 三.会议站立式照片 ...
- 201521123096《Java程序设计》第六周学习总结
1. 本周学习总结 1.1 面向对象学习暂告一段落,请使用思维导图,以封装.继承.多态为核心概念画一张思维导图,对面向对象思想进行一个总结. 2. 书面作业 (1)clone方法 1.1 Object ...
- 201521123011 《Java程序设计》第4周学习总结
1. 本周学习总结 1.1 尝试使用思维导图总结有关继承的知识点. 1.2 使用常规方法总结其他上课内容. 答:1.super() 子类不能继承父类的构造方法,但可以通过super关键字去访问父类的构 ...
- 201521123054 《Java程序设计》 第2周学习总结
本周学习总结 能够利用jdk文档处理实验问题: 动态数组的学习: 书面作业 1.使用Eclipse关联jdk源代码,并查看String对象的源代码(截图)?分析String使用什么来存储字符串的?分析 ...
- #黑客攻防实战详解#[Chapter 1]
1.1 ①配置模拟入侵环境 ②配置网络拓扑
- cxgrid学习
delphi cxgrid控件哪个属性是设置不能编辑? cxgrid控件cxgridDBTable的OptionsData可以选择操作 cxGrid1DBTableView1下选择cxGrid1DBT ...
- java-枚举一些字典信息的例子
一个典型的枚举应用的例子 package opstools.vtm.dictionary.enums; import opstools.framework.view.ResourceValue; /* ...