slitaz-doc-wiki-data diff pages/en/handbook/systemutils.txt @ rev 86

Updated meta folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Aug 02 21:40:18 2011 +0000 (2011-08-02)
parents 70b5f3ae5339
children
line diff
     1.1 --- a/pages/en/handbook/systemutils.txt	Sat Feb 26 12:17:18 2011 +0000
     1.2 +++ b/pages/en/handbook/systemutils.txt	Tue Aug 02 21:40:18 2011 +0000
     1.3 @@ -55,6 +55,24 @@
     1.4   $ locale
     1.5  </code>
     1.6  
     1.7 +===== Custom SHell =====
     1.8 +
     1.9 +SliTaz uses the ash shell linked to sh provided by busybox. Ash is light, fast and standards compliant. To change the default shell for a user you can edit the /etc/passwd file using the corresponding line. After you login, /etc/profile is read first and then the user file ~/profile. You can edit these files with a text editor to configure the language, any aliases, etc. 
    1.10 +
    1.11 +=== Example: ~/.profile ===
    1.12 +
    1.13 +<file>
    1.14 +# ~/.profile: executed by Bourne-compatible login shells.
    1.15 +#
    1.16 +
    1.17 +# Aliases.
    1.18 +alias ls='ls -F'
    1.19 +alias df='df -h'
    1.20 +
    1.21 +# Env variables.
    1.22 +export EDITOR=nano
    1.23 +</file>
    1.24 +
    1.25  ===== Bash Shell =====
    1.26  
    1.27  On SliTaz you have the ash and sh shell with a link to Ash, this shell is provided by Busybox. If you wish to use the Bash (Bourne Again SHell), first as root install bash, copy the //.profile// found in your home directory and rename it //.bashrc//, then edit the ///etc/passwd// file with your favorite text editor and change your shell to :///bin/bash//