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的更多相关文章

随机推荐

  1. [转载]Linux shell中的竖线(|)——管道符号

    原文地址:Linux shell中的竖线(|)--管道符号作者:潇潇 管道符号,是unix一个很强大的功能,符号为一条竖线:"|". 用法: command 1 | command ...

  2. 软工+C(2017第4期) Alpha/Beta换人

    // 上一篇:超链接 // 下一篇:工具和结构化 注:在一次软件工程讨论课程进度设计的过程中,出现了这个关于 Alpha/Beta换人机制的讨论,这个机制在不同学校有不同的实施,本篇积累各方观点,持续 ...

  3. 团队作业1——团队展示&选题

    Deadline: 2017-4-5 22:00PM,以博客发表日期为准 评分基准: 按时交 - 有分,检查的项目包括后文的四个方面 团队博客 团队选题 团队计划 团队成员贡献分分配规则 晚交 - 0 ...

  4. 201521123045 《Java程序设计》第5周学习总结

    第5周-继承.多态.抽象类与接口 1. 本周学习总结 2. 书面作业 Q1.代码阅读:Child压缩包内源代码 1.1 com.parent包中Child.java文件能否编译通过?哪句会出现错误?试 ...

  5. [转载]Eclipse自定义快捷键导出和导入方法

    背景: 以前做C/C++开发,习惯了Visual Studio这个强大的IDE,转到安卓开发后,用到蛋疼的Eclipse,实在不习惯,而且以前总觉得VS不流畅,现在才知道VS很好,才知道什么是真正的& ...

  6. 201521123096《Java程序设计》第十四周学习总结

    1. 本周学习总结 1.1 以你喜欢的方式(思维导图或其他)归纳总结多数据库相关内容. 2. 书面作业 1. MySQL数据库基本操作 建立数据库,将自己的姓名.学号作为一条记录插入.(截图,需出现自 ...

  7. 201521123122 《java程序设计》第九周学习总结

    201521123122 <java程序设计>第九周实验总结 1. 本周学习总结 以你喜欢的方式(思维导图或其他)归纳总结集合相关内容. 2. 书面作业 常用异常 题目5-1 1.1 截图 ...

  8. MongoDB 索引篇

    MongoDB 索引篇 索引的简介 索引可以加快查询的速度,但是过多的索引或者规范不好的索引也会影响到查询的速度.且添加索引之后的对文档的删除,修改会比以前速度慢.因为在进行修改的时候会对索引进行更新 ...

  9. day09<面向对象+>

    面向对象(多态的概述及其代码体现) 面向对象(多态中的成员访问特点之成员变量) 面向对象(多态中的成员访问特点之成员方法) 面向对象(多态中的成员访问特点之静态成员方法) 面向对象(超人的故事) 面向 ...

  10. Opencv的使用,NDK的简单使用

    第一部分:安装运行: 1.下载opencv,并解压,将其目录下的sdk复制到eclipse的工作区间目录下,重命名为OpenCV-SDK(随意命名): 2.从eclipse中导入:file->i ...