Linux Learning-Getting Started

Source: Internet
Author: User

the misunderstanding in the language

Many people think that Linux programming is in C language programming. Indeed, Unix was originally written in C, and most UNIX applications were written in C, but the C language was not the only option for Linux programmers or UNIX programmers. The following table is a subset of the programming languages available to Linux programmers.

Linux Programs2 types: Executable files, script files

executable: A program that a computer can run directly, equivalent to an. exe file in Windows.

script file: A set of instructions that will be executed by another program (that is, the interpreter). The script file corresponds to a. bat file in Windows, a. cmd file, or a basic program that interprets execution.

But in fact, at the user level, the two are essentially no different. Linux does not require that an executable file or script file have a special file name or extension, and file system properties are used to indicate whether a file is an executable program.

Path Variable

/bin: binary files directory for programs used during system startup

/usr/bin: user binary files directory for standard programs used by users

/usr/local/bin: local binary files directory for software installation programs

/OPT: Optional operating system components and third-party applications

/sbin: The directory where the system management program is stored

/bin/sbin: The directory where the system management program is stored

Use ":" to split the entry in the path variable, for example:

/usr/local/bin:/bin:/usr/bin:.:/ Home/neil/bin:/usr/x11r6/bin

The above path variable includes the entry: Standard program location, current directory (.), a user's home directory, x Windows system directory

Linux Learning-Getting Started

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.