人人做人人澡人人爽欧美,国产主播一区二区,久久久精品五月天,羞羞视频在线观看免费

當前位置:蘿卜系統下載站 > 電腦學習教程 > 詳細頁面

Linux Issue | bash: fdisk-l: command not found處理

Linux Issue | bash: fdisk-l: command not found處理

更新時間:2025-09-11 文章作者:未知 信息來源:網絡 閱讀次數:

[root@localhost boot]# fdisk-l <--使用 fdisk命令時候 出現如下錯誤
bash: fdisk-l: command not found
[root@localhost boot]# whereis fdisk <--查詢fdisk命令的位置
fdisk: /sbin/fdisk /usr/share/man/man8/fdisk.8.gz
[root@localhost boot]# echo $PATH <---查詢環境變量
/nfs/smartsvn/bin:/usr/local/sbin:/sbin:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/java/jdk1.7.0_25/bin:/usr/dev/svnclient/smartsvn-7_5_2/bin
[root@localhost boot]# echo $PATH | grep /sbin/fdisk <--再次確認確實沒有fdisk命令所在位置
[root@localhost boot]# ln -s /sbin/fdisk /usr/local/sbin <--fdisk添加到當前命令搜索路徑中即可
[root@localhost boot]# cd /usr/local/sbin <--確認fdisk已經添加到環境變量
[root@localhost sbin]# ls -F |grep /sbin/fdisk
[root@localhost sbin]# ls -F
fdisk@

[root@localhost sbin]# fdisk -l<--使用fdisk命令
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f1e94
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 2354 18598912 83 Linux
/dev/sda3 2354 2611 2064384 82 Linux swap / Solaris

溫馨提示:喜歡本站的話,請收藏一下本站!

本類教程下載

系統下載排行

網站地圖xml | 網站地圖html
主站蜘蛛池模板: 沂源县| 海南省| 昌吉市| 岳普湖县| 青浦区| 南康市| 泾川县| 新野县| 梨树县| 甘孜县| 临西县| 县级市| 陆良县| 广德县| 汾西县| 故城县| 黄石市| 江孜县| 石渠县| 开原市| 醴陵市| 木兰县| 察雅县| 香格里拉县| 温泉县| 西吉县| 临漳县| 乌兰察布市| 江川县| 荥经县| 万全县| 西华县| 台北市| 随州市| 开封市| 阳泉市| 西贡区| 江阴市| 舟山市| 特克斯县| 沙田区|