Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente Ultima revisione Entrambe le parti successive la revisione | ||
vlsi:workbook:computing:unix:basics [29/11/2013 09:56] pacher |
vlsi:workbook:computing:unix:basics [05/12/2013 21:27] panati |
||
---|---|---|---|
Linea 63: | Linea 63: | ||
* [[http://en.wikipedia.org/wiki/C_shell|C shell]] → /bin/csh | * [[http://en.wikipedia.org/wiki/C_shell|C shell]] → /bin/csh | ||
* [[http://en.wikipedia.org/wiki/TC_shell|TC shell]] → /bin/tcsh | * [[http://en.wikipedia.org/wiki/TC_shell|TC shell]] → /bin/tcsh | ||
+ | |||
+ | == How to install csh/tcsh == | ||
+ | |||
+ | For C shell: | ||
+ | |||
+ | <code> | ||
+ | $ sudo apt-get install csh | ||
+ | </code> | ||
+ | |||
+ | For TC shell: | ||
+ | |||
+ | <code> | ||
+ | $ sudo apt-get install tcsh | ||
+ | </code> | ||
+ | |||
+ | |||
+ | If you are using Redhat/Fedora/CentOS Linux, write: | ||
+ | |||
+ | <code> | ||
+ | # yum install tcsh | ||
+ | </code> | ||
+ | |||
+ | |||
+ | == How to change the login shell == | ||
+ | |||
+ | You can change your login shell with: | ||
+ | |||
+ | <code> | ||
+ | chsh | ||
+ | </code> | ||
+ | |||
+ | i.e. | ||
+ | |||
+ | <code> | ||
+ | chsh | ||
+ | Password: | ||
+ | Changing the login shell for serena | ||
+ | Enter the new value, or press ENTER for the default | ||
+ | Login Shell [/bin/tcsh]: | ||
+ | </code> | ||
+ | |||
+ | and there you can write the path of another installed shell | ||
+ | |||
+ | <code> | ||
+ | chsh | ||
+ | Password: | ||
+ | Changing the login shell for serena | ||
+ | Enter the new value, or press ENTER for the default | ||
+ | Login Shell [/bin/tcsh]: /bin/bash | ||
+ | </code> | ||
=== An A-Z Index of the Bash command line for Linux === | === An A-Z Index of the Bash command line for Linux === | ||
Linea 431: | Linea 481: | ||
who -q Get number of users logged-in and their user names | who -q Get number of users logged-in and their user names | ||
who -a Get all the information | who -a Get all the information | ||
- | |||
===== Working with directories ===== | ===== Working with directories ===== | ||
Linea 681: | Linea 730: | ||
//[[http://ximbiot.com/cvs/manual]]// | //[[http://ximbiot.com/cvs/manual]]// | ||
+ | |||
+ | [[http://commons.oreilly.com/wiki/index.php/Essential_CVS]] | ||
+ | |||
Basic syntax of a cvs command: | Basic syntax of a cvs command: |