首页 > 系统服务 > 详细

Ubuntu: Mount The Drive From Command Line

时间:2020-06-20 10:05:51      阅读:62      评论:0      收藏:0      [点我收藏+]

use the mount command.

# Open a command-line terminal (select Applications > Accessories > Terminal), and then type the following command to mount /dev/sdb1 at /media/guo/4T.

 You need to create a mount point using the mkdir command. This will be the location from which you will access the /dev/sdb1 drive.
  $ sudo mkdir /media/guo/4T


To mount the drive, enter:
  $ sudo mount /dev/sdb1 /media/guo/4T
  $ df -H
To view files cd to /media/guo/4T, enter:
  $ cd /media/guo/4T
  $ ls -l

Ubuntu: Mount The Drive From Command Line

原文:https://www.cnblogs.com/wkwzn2019/p/13167298.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!