ווטסאפ - לינוקס, BSD, קוד פתוח ותוכנה חופשית בעברית. Whatsup - Linux, BSD, open source and free software in Hebrew

 
 
  כניסת חברים · רישום · שכחתי סיסמה  
tux the penguin
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
משתמש חדשאורח · ·
 

הודעה פורסם: 17/03/2004 - 16:03
נושא ההודעה: משתני סביבה

שלום.
היכן אפשר למצווא מידע על משתני סביבה?
מה הם בכלל?
תודה
 
   
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
chenlevyלא בפורום כעת ת.הצטרפות: 20/03/2002 · הודעות: 246 · מיקום: אשדות יעקב איחוד
 

הודעה פורסם: 17/03/2004 - 17:48
נושא ההודעה:

משתני סביבה (environment variables( הם נושא עם השלכות לגבי נושאים רבים.
הגוף האחראי על תקן Posix מגדיר אותם כאן:
http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html
אודות משנתי סביבה הייחודיים ל- bash ראה: info:/bash/Shell Variables וכן: http://www.iu.hio.no/~mark/unix/unix.html#SEC71
בהקשר של תכנות ב- C, ראה man 5 environ
וכמובן google: environment variables

כאשר אני מעוניין בהגדרה של מושג שאינו ברור לי אני נועץ ב- kdict. הנה מה שיש לו לומר בנושא:

קוד:

The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]

environment variable
     
        <programming, operating system> A variable that is bound in
        the current environment.  When evaluating an expression in
        some environment, the evaluation of a variable consists of
        looking up its name in the environment and substituting its
        value.
     
        Most programming languages have some concept of an environment
        but in Unix shell scripts it has a specific meaning
        slightly different from other contexts.  In shell scripts,
        environment variables are one kind of shell variable.  They
        differ from local variables and command line arguments in
        that they are inheritted by a child process.  Examples are
        the PATH variable that tells the shell the file system
        paths to search to find command executables and the TZ
        variable which contains the local time zone.  The variable
        called "SHELL" specifies the type of shell being used.
     
        These variables are used by commands or shell scripts to
        discover things about the environment they are operating in.
        Environment variables can be changed or created by the user
        or a program.
     
        To see a list of environment variables type "setenv" at the
        csh or tcsh prompt or "set" at the sh, bash, jsh
        or ksh prompt.
     
        In other programming languages, e.g. functional programming
        languages, the environment is extended with new bindings when
        a function's parameters are bound to its actual
        arguments or when new variables are declared.  In a
        block-structured procedural language, the environment
        usually consists of a linked list of activation records.
     
        (1999-01-26)
 
 צפיה בפרופיל המשתמש שלח הודעה פרטית ביקור באתר המפרסם  
תגובה  עם ציטוט חזרה למעלה
חזרה לתוכן הדיון
הצגת הודעות מלפני:     
מעבר אל:  
כל הזמנים הם GMT + 2 שעות
תגובה לנושא
צפיה בנושא הבא Printable version התחבר כדי לבדוק הודעות פרטיות צפיה בנושא הקודם
PNphpBB2 © 2003-2004 

תוכן הדיון

  1. אורח [משתמש חדש]
  2. chenlevy