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
Next revision Both sides next revision
en:handbook:systemutils [2015/01/02 19:25]
linea Tiny edits
en:handbook:systemutils [2016/11/27 16:44]
hgt ~/profile replaced by ~/.profile
Line 43: Line 43:
 Install them using: Install them using:
 <​code>​ <​code>​
-# tazpkg -gi linux-nfsd nfs-utils+# tazpkg -gi linux-nfsd 
 +# tazpkg -gi nfs-utils
 </​code>​ </​code>​
  
Line 119: 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 134: 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 327: 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 338: 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.txt · Last modified: 2022/08/13 17:26 by linea