Chsh
Questa voce sull'argomento sistema operativo è solo un abbozzo.
Contribuisci a migliorarla secondo le convenzioni di Wikipedia.
Il comando chsh (change shell) che si trova nei sistemi operativi Unix e Unix-like permette di modificare la shell di login, ovvero la shell predefinita che si presenta all'utente al momento dell'accesso al sistema. Le shell valide utilizzabili sono elencate generalmente nel file /etc/shells.[1]
Sintassi
#chsh [-s shell_di_login] [utente]
Il seguente comando:
echo $0
restituisce il nome della shell di login corrente. Per visualizzare il percorso della shell, utilizzare:
echo $SHELL
Note
- ^ (EN) The /etc/shells File Archiviato il 2 maggio 2012 in Internet Archive. da Linux from Scratch
Collegamenti esterni
- (EN) In Unix, what is chsh, and how do I use it to change my shell?, su kb.iu.edu.
V · D · M | ||
---|---|---|
File system | cat · cd · chattr · chmod · chown · chgrp · cksum · cmp · cp · du · df · fdisk · file · fsck · fuser · gzip · ln · ls · lsattr · lsof · mkdir · mknod · mount · mv · pwd · rm · rmdir · split · tar · touch · umount · umask | |
Processi | at · chroot · crontab · exit · kill · killall · nice · nohup · pgrep · pidof · pkill · ps · pstree · sleep · time · top · wait | |
Ambiente utente | alias · env · export · finger · id · logname · mesg · newgrp · passwd · su · sudo · uname · uptime · w · wall · who · whoami · write | |
Elaborazione testo | awk · comm · cut · diff · ed · ex · fmt · head · iconv · join · less · more · paste · sed · sort · tail · tr · uniq · vi · wc · xargs | |
Script di shell | basename · dirname · echo · expr · false · printf · test · true · unset | |
Rete | dig · nslookup · ifconfig · netstat · ping · rcp · rlogin · route · netcat · traceroute | |
Ricerche | find · grep · strings | |
Amministrazione | dmesg · groupadd · groupdel · groupmod · mdadm · shutdown · useradd · userdel · usermod | |
Altri | banner · bc · cal · clear · date · dd · lp · man · size · tee · tput · yes |
Portale Informatica: accedi alle voci di Wikipedia che trattano di informatica