Set PATH in FedoraCore

Source: Internet
Author: User
For beginners, refer to this article. It explains how to set the PATH in FedoraCore. Under the current user. add a row in bashrc: exportPATH = ". :/bin:/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin "and # source. bashrc does not contain any information even if some commands can be called, or you need to enter the root password, which indicates that the command must be run with super permissions.

For beginners, refer to this article. It explains how to set the PATH in Fedora Core.

Add a line in. bashrc of the current user:

Export PATH = ".:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"

Then

# Source. bashrc
Some commands do not contain any information even if they can be called, or you need to enter the root password, which means you must run them with super permissions;

For example

[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]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.