Co robi EXPR użycie. Konsola by spaces. In most cases, an argument is an integer, typed literally.

Czy przydatne?

Polecenie expr

Wykonanie, użycie: Evaluate arguments as expressions and print the results. Arguments and operators must be separated by spaces. In most cases, an argument is an integer, typed literally or represented by a shell variable. There are three types of operators: arithmetic, relational, and logical, as well as keyword expressions. Exit status for expr is 0 (expression is nonzero and nonnull), 1 (expression is 0 or null), or 2 (expression is invalid)

Opcje wykonania expr w konsoli

Przykłady expr działanie w Słownik polecenie E

Przykład EXPR użycie :
Jak użyć environment or, if an environment variable is specified, set it to a new value and display the modified environment. If command is specified, execute it under the modified environment co znaczy.
Przykład EXPR użycie :
Jak użyć Record audio to the specified file krzyżówka.
Przykład EXPR użycie :
Jak użyć System administration command. Display the filesystem label on an ext2 filesystem device . Change filesystem label to label if specified co to jest.
Przykład EXPR użycie :
Jak użyć A text editor and all-purpose work environment. For more information, see Chapter 8 słownik.
Przykład EXPR użycie :
Jak użyć Convert tabs in given files (or standard input, if the file is named -) to appropriate number of spaces; write results to standard output czym jest.