Hi,
You're welcome,
It depends on your needs, e.g. different users might use different settings.
Nice to use local variables if you can.
You will be fine using /etc/profile
As Always start with...
# cp /etc/profile /etc/profile-backup
# emacs /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
See Also:
# emacs /etc/bash.bashrc
googled: environment variables /etc/profile
http://www.comptechdoc.org/os/linux/usersguide/linux_ugenvironment.html
Cheers,
dave.
Hi,
googled: PATH (environment variable) debian
http://www.debian.org/doc/manuals/debian-tutorial/ch-shell.html
e.g. my .bashrc has entries added... Before you start.
$ cp .bashrc bashrc1
$ emacs .bashrc
export EDITOR=emacs
export VISUAL=emacs
e.g. my .emacs might look like this
$ emacs .emacs
(setq inhibit-startup-message t)
;(set-background-color "black")
;(set-foreground-color "wheat")
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)
(display-time)
(tool-bar-mode -1)
;(menu-bar-mode -1)
(scroll-bar-mode -1)
You might see something like this
# emacs /etc/environment
LANGUAGE ="en_GB.UTF-8"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
Cheers,
dave
/etc/profile = system-wide .profile
Thanks for the link, Dave.
Environment variables