16.5 Startup File Pitfalls


16.5 Startup File Pitfalls

There are a few things you really should avoid in startup files (many have to do with the X Window System):

  • Don't put X commands in a shell startup file.

  • Don't set the DISPLAY environment variable in a shell startup file.

  • Don't set the terminal type in a shell startup file.

  • Don't skimp on descriptive comments in default startup files.

  • Don't run commands in a startup file that print to the standard output.

  • Never set LD_LIBRARY_PATH in a shell startup file (see Section 8.1.4).




How Linux Works
How Linux Works: What Every Superuser Should Know
ISBN: 1593270356
EAN: 2147483647
Year: 2004
Pages: 189
Authors: Brian Ward

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net