您的位置:首页 > 运维架构 > Linux

The frequent used operation in Linux system

2017-04-08 12:55 543 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐