1.

How Are Shell Variables Stored? Explain With A Simple Example?

Answer»

Shell variables are stored as STRING variables.

EXAMPLE: $ a=10

In the above statement a=10, the 10 stored in ‘a’ is not treated as a number, but as a string of characters 1 and 0.

Shell variables are stored as string variables.

Example: $ a=10

In the above statement a=10, the 10 stored in ‘a’ is not treated as a number, but as a string of characters 1 and 0.



Discussion

No Comment Found