Difference between revisions of "Configuration"

From Linuxintro
imported>ThorstenStaerk
(example for setting the console language)
imported>ThorstenStaerk
Line 17: Line 17:
 
bootstick@bootstick:~$  
 
bootstick@bootstick:~$  
 
</pre>
 
</pre>
 +
 +
= Set German as system language =
 +
# ls asdf
 +
ls: cannot access asdf: No such file or directory
 +
# export LANG=de_DE
 +
# ls asdf
 +
ls: cannot access asdf: Datei oder Verzeichnis nicht gefunden
 +
# export LANG=de
 +
# ls asdf
 +
ls: cannot access asdf: No such file or directory
  
 
= Find out where configuration changes are stored =
 
= Find out where configuration changes are stored =

Revision as of 09:16, 24 June 2012

Set english as system language

Example for a bad translation

$ cat /dev/net/tun
Die Dateizugriffsnummer ist in schlechter Verfassung

So let's set the system language to english:

$ cat /etc/environment

there must not be anything but

LANG=C

example

bootstick@bootstick:~$ echo "hello" >/proc/cmdline 
bash: /proc/cmdline: Keine Berechtigung
bootstick@bootstick:~$ export LANG=C
bootstick@bootstick:~$ echo "hello" >/proc/cmdline 
bash: /proc/cmdline: Permission denied
bootstick@bootstick:~$ 

Set German as system language

# ls asdf
ls: cannot access asdf: No such file or directory
# export LANG=de_DE
# ls asdf
ls: cannot access asdf: Datei oder Verzeichnis nicht gefunden
# export LANG=de
# ls asdf
ls: cannot access asdf: No such file or directory

Find out where configuration changes are stored

See here

Schedule tasks

To schedule tasks to be execute at boot, during login or at a specific time see scheduling tasks.