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