码迷,mamicode.com
首页 > 系统相关 > 详细

The frequent used operation in Linux system

时间:2017-04-08 13:47:41      阅读:300      评论:0      收藏:0      [点我收藏+]

标签:size   echo   put   file   enter   dir   cache   location   text   

The frequently used operation in Linux system   

2017-04-08 12:48:09 

 

1. mount the hard disk: 

  #: fdisk -l     %% use this operation to check how many and what disk it found in the computer.

  #: mkdir yiDongYingPan   %% mkdir a new file as the location to mount i.e. take all the files from your disk into this file .

  #: mount /dev/sdc1 /home/wx/data/yiDongYingPan/ 

 

  then, you can open file: yiDongYingPan to operate your file now. 

 

2. clear the RAM:

  #: free -m    %% to check the memory usage of current PC 

  #: sync 

  #: echo 3 > /proc/sys/vm/drop_caches 

 

3. 

 

The frequent used operation in Linux system

标签:size   echo   put   file   enter   dir   cache   location   text   

原文地址:http://www.cnblogs.com/wangxiaocvpr/p/6681558.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!