0x03-shell_variables_expansions
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
#!/bin/bash **File 0-alias is a script that creates an alias.** **File 1-hello_you is a script that prints hello user.** **File 2-path is a script that add /action to the PATH . /action** **File 3-paths is a script that counts the number of directories in the PATH** **File 4-global_variables is a script that lists environment variables.** **File 5-local_variables is a script that lists all local variables and environment variables, and functions.** **File 6-create_local_variable is a script that creates a new local variable.** **File 7-create_global_variable is a script that creates a new global variable.** **File 8-true_knowledge is a script that prints the result of the addition of 128 with the value stored in the environment variable TRUEKNOWLEDGE, followed by a new line.** **File 9-divide_and_rule is a script that prints the result of POWER divided by DIVIDE, followed by a new line.** **File 10-love_exponent_breath is a script that displays the result of BREATH to the power LOVE.** **File 11-binary_to_decimal is a script that converts a number from base 2 to base 10.** **File 12-combinations is a script that prints all possible combinations of two letters, except oo.** **File 13-print_float is a script that prints a number with two decimal places.** **File 14-decimal_to_hexadecimal is a script that converts a number from base 10 to base 16.** **File 100-rot13 is a script that encodes and decodes text using the rot13 encryption.** **File 101-odd is a script that prints every other line from the input, starting with the first line.** **File 102-water_and_stir is a shell script that adds the two numbers stored in the environment variables WATER and STIR and prints the result.**