SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:handbook:systemutils [2015/01/03 22:12]
emgi [Devices and disk access]
en:handbook:systemutils [2016/11/27 16:44] (current)
hgt ~/profile replaced by ~/.profile
Line 120: Line 120:
 ===== Language and keyboard layout ===== ===== Language and keyboard layout =====
  
-SliTaz saves the configuration of the default locale in ///​etc/​locale.conf//​ which is read by ///​etc/​profile//​ on each login and the keyboard setting is stored in ///etc/kmap.conf//. These two files can be edited with your favorite editor or configured respectively with //​tazlocale//​ and //​tazkeymap//​. You can modify the settings you chose on the first boot by typing as root administrator:​+SliTaz saves the configuration of the default locale in ///​etc/​locale.conf//​ which is read by ///​etc/​profile//​ on each login and the keyboard setting is stored in ///etc/keymap.conf//. These two files can be edited with your favorite editor or configured respectively with //​tazlocale//​ and //​tazkeymap//​. You can modify the settings you chose on the first boot by typing as root administrator:​
  
 <​code>​ # tazlocale <​code>​ # tazlocale
Line 135: Line 135:
 ===== Custom SHell ===== ===== Custom SHell =====
  
-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. +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. 
  
 === Example: ~/.profile === === Example: ~/.profile ===
Line 328: Line 328:
 The daemon '​crond'​ allows you to run commands automatically at a scheduled specific date or time. This is very useful for routine tasks such as system administration. The directory cron uses is ///​var/​spool/​cron/​crontabs//​. The daemon '​crond'​ allows you to run commands automatically at a scheduled specific date or time. This is very useful for routine tasks such as system administration. The directory cron uses is ///​var/​spool/​cron/​crontabs//​.
  
-Each user on the system can have his/her own tasks, they are defined in the file: ///​var/​spool/​cron/​crontabs/​user//​. ​You must be root to edit this file. The crontab utility allows you (amongst other things), to list the tasks specific to the user. +Each user on the system can have his/her own tasks, they are defined in the file: ///​var/​spool/​cron/​crontabs/​user//​. ​This file can be created oder modified by any user with the //crontab -e// command, using the default text editor. The crontab utility allows you (amongst other things), to list the tasks specific to the user. 
 <​code>​ <​code>​
 # crontab -l <== To list the crontab for user root. # crontab -l <== To list the crontab for user root.
Line 339: Line 339:
 <​file>​ mm hh dd MMM DDD command > log </​file>​ <​file>​ mm hh dd MMM DDD command > log </​file>​
  
-We will create a file with root privileges and test the daemon '​crond'​ with a task performed every minute - writing the date to a file ///​tmp/​crond.test//​. It should be noted that the utility has an option crontab for editing cron file using '​vi'​this is not provided by SliTaz. In its place you can use GNU nano (<​Ctrl+X>​ to save & exit):+We will create a file with root privileges and test the daemon '​crond'​ with a task performed every minute - writing the date to a file ///​tmp/​crond.test//, ​using GNU nano (<​Ctrl+X>​ to save & exit):
  
 <​code>​ # nano /​var/​spool/​cron/​crontabs/​root </​code>​ <​code>​ # nano /​var/​spool/​cron/​crontabs/​root </​code>​
 
en/handbook/systemutils.1420319541.txt.gz ยท Last modified: 2015/01/03 22:12 by emgi