Skip to content

Environment

Warning

THIS PAGE HAS BEEN TRANSLATED AUTOMATICALLY - MAY CONTAIN INCORRECT OR OUTDATED INFORMATION.

The configuration of the bash shell environment is stored in the /usr/home/*LOGIN*/.bash_profile file. To use the following examples, add them to the above file.

Encoding

The default encoding is UTF-8 and it is recommended to use it. To change the encoding to, for example, ISO-8859-2, add:

export LC_ALL="en_PL.ISO8859-2"

Editor

The default editor is vi. For novice users, it may seem unintuitive. The following editors are installed on Serv00.com servers: nano, vim, ee or mcedit. To change the default editor to nano add:

export EDITOR="nano"

Coloring ls

By default on Serv00.com servers, ls colors filenames using the BSD default colors. To change the color of the output to that of GNU add:

export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"

You can also disable the display of colors altogether by adding the following line:

unset CLICOLOR

Prompt

To change the default prompt to Linux, add:

export PS1="\u@\h:\w\$ "

See also

Devil Login