zoukankan      html  css  js  c++  java
  • The frequent used operation in Linux system

    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. when new system installed the Yakuake, it often shown me the error like followings: 

        Yakuake was unable to load the Konsole component.
        A Konsole installation is required to use Yakuake. 

    ==>> Solution: ???

    4. Unable to access “605 GB Volume”

    Error mounting /dev/sda5 at /media/wangxiao/E1F171026416B63F: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/wangxiao/E1F171026416B63F"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
    Metadata kept in Windows cache, refused to mount.
    Failed to mount '/dev/sda5': Operation not permitted
    The NTFS partition is in an unsafe state. Please resume and shutdown
    Windows fully (no hibernation or fast restarting), or mount the volume
    read-only with the 'ro' mount option.

    ==>> sudo ntfsfix /dev/sda5 

    5. 

  • 相关阅读:
    JavaScript实现上传图片预览[js前端实现]
    Java内存Happen-Before
    《干净架构读书笔记》——业务驱动编程
    《干净架构读书笔记》——编程范式
    Scrum中的冲刺和迭代
    Spring Cloud中通过Kafka传递自定义Header
    领域驱动开发(DDD)Web开发中的典型分层
    给开发团队减减负
    业务实体和用例
    什么是好的代码-代码Review要点
  • 原文地址:https://www.cnblogs.com/wangxiaocvpr/p/6681558.html
Copyright © 2011-2022 走看看