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. (转)C语言malloc()与free()的使用

    如何使用 malloc 函数 本文为转载内容,原文地址请点击 不要莫名其妙,其实上面这段小小的对话,就是malloc的使用过程.malloc是一个函数,专门用来从堆上分配内存.使用malloc函数需要 ...

  2. 团队作业2--需求分析&原型设计

    一.需求分析 1.用户采访 a.采访对象:   分别对本学院同学.其他专业同学.部分老师等总计15人进行了采访调研: b.采访截图:    c.采访总结: (1).功能需求   能够将所提供的四个数进 ...

  3. 【1414软工助教】团队作业4——第一次项目冲刺(Alpha版本) 得分榜

    题目 团队作业4--第一次项目冲刺(Alpha版本) 作业提交情况情况 所有团队都在规定时间内完成了七次冲刺. 往期成绩 个人作业1:四则运算控制台 结对项目1:GUI 个人作业2:案例分析 结对项目 ...

  4. 团队作业八—第二次团队冲刺(Beta版本) 第 1 天

    一.每个人的工作 (1) 昨天已完成的工作 由于是才刚开始冲刺,所以没有昨天的工作 (2) 今天计划完成的工作: 对界面的优化和一些细节的完善 (3) 工作中遇到的困难: 工作中出现了意见不一的情况 ...

  5. 201521123067 《Java程序设计》第8周学习总结

    201521123067 <Java程序设计>第8周学习总结 1. 本周学习总结 1.1 以你喜欢的方式(思维导图或其他)归纳总结集合与泛型相关内容. 2. 书面作业 Q1.List中指定 ...

  6. 201521123012 《Java程序设计》第二周学习总结

    1. 本章学习总结 1.Java中String和StringBuilder的区别. 2.Arrays()的用法. 2.课后作业 1.使用Eclipse关联jdk源代码(截图),并查看String对象的 ...

  7. 如何将ubuntu文件夹中文名改为英文

    其实我已经忍了很久. ubuntu在中文界面下面,自动创建了"桌面","文档",图片 .公共的 .下载. 音乐. 视频等中文目录. 在命令行下操作的时候,要么切 ...

  8. 201521123034《Java程序设计》第十二周学习总结

    1. 本周学习总结 1.1 以你喜欢的方式(思维导图或其他)归纳总结多流与文件相关内容. 2. 书面作业 将Student对象(属性:int id, String name,int age,doubl ...

  9. java课程设计——猜数游戏

    1.团队课程设计博客链接 http://www.cnblogs.com/springbreezemiles/p/7064135.html 2.个人负责模块或任务说明 本人任务: 编写主界面以及排行榜代 ...

  10. 201521123003《Java程序设计》第12周学习总结

    1. 本周学习总结 1.1 以你喜欢的方式(思维导图或其他)归纳总结多流与文件相关内容. 2. 书面作业 将Student对象(属性:int id, String name,int age,doubl ...