1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-22 10:08:54 +00:00

Merge pull request #122 from Kombatologist/patch-1

Fixed typo
This commit is contained in:
Julien Le Coupanec 2020-06-19 02:21:39 +02:00 committed by GitHub
commit d89e4aed41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,10 +175,10 @@ ${array[i]} # displays array's value for this index. If no inde
${#array[i]} # to find out the length of any element in the array ${#array[i]} # to find out the length of any element in the array
${#array[@]} # to find out how many values there are in the array ${#array[@]} # to find out how many values there are in the array
declare -a # the variables are treaded as arrays declare -a # the variables are treated as arrays
declare -f # uses function names only declare -f # uses function names only
declare -F # displays function names without definitions declare -F # displays function names without definitions
declare -i # the variables are treaded as integers declare -i # the variables are treated as integers
declare -r # makes the variables read-only declare -r # makes the variables read-only
declare -x # marks the variables for export via the environment declare -x # marks the variables for export via the environment