Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, To check System defined or environment variable, i can use "env" comand. But to user defined variable in shell, which command to use. Suppose i have defined some ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    49

    User defined variable

    Hi All,

    To check System defined or environment variable, i can use "env" comand.
    But to user defined variable in shell, which command to use.

    Suppose i have defined some N variables. but i want to check all those variable, which i defined?

    $var1=1000
    $var2-200
    $abc=20
    .....

  2. #2
    Linux User
    Join Date
    Jun 2007
    Posts
    318
    Use command 'set' with no arguements.

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Posts
    49
    Thank you...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...