新手请看,高手飘过,讲解下如何在Fedora Core中设置PATH。
请在 当前用户下的.bashrc 中加一行:export PATH=".:/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"然后#source .bashrc
有些命令即便能调用,也不会出现任何信息,或者要输入root密码的,说明要以超级权限运行的; 比如[beinan@localhost ~]$ fdisk -l
[beinan@localhost ~]$ su
Password:
[root@localhost beinan]# fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 765 6144831 7 HPFS/NTFS
/dev/hda2 766 2805 16386300 c W95 FAT32 (LBA)
/dev/hda3 2806 7751 39728745 5 Extended
/dev/hda5 2806 3825 8193118+ 83 Linux
/dev/hda6 3826 5100 10241406 83 Linux
/dev/hda7 5101 5198 787153+ 82 Linux swap / Solaris
/dev/hda8 5199 6657 11719386 83 Linux
/dev/hda9 6658 7751 8787523+ 83 Linux
[root@localhost beinan]期待Ubuntu 8.10正式版的到来[多图]Linux平台编译安装源码包软件详解相关资讯 Fedora
- Fedora GNOME 的常用快捷键 (04/02/2015 17:38:36)
- Fedora Core 有望重新复活 (08/15/2013 17:25:09)
- Fedora 19开发代号投票选出:薛定 (11/16/2012 21:34:24)
| - Fedora Linux 项目诞生十周年 (09/25/2013 05:53:31)
- Fedora 17 x86_64 安装流程 (11/24/2012 18:09:07)
- Fedora 18 正式版延期至年底发布 (10/17/2012 19:31:11)
|
本文评论 查看全部评论 (0)