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 | ||
vlsi:workbook:computing:unix:basics [29/11/2013 09:55] pacher |
vlsi:workbook:computing:unix:basics [06/06/2014 12:41] (versione attuale) pacher |
||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | ====== UNIX basic commands ====== | + | ====== UNIX/Linux basic commands ====== |
[ __[[vlsi:home|Home]]__ ] | [ __[[vlsi:home|Home]]__ ] | ||
[ __[[vlsi:workbook:computing:unix|UNIX/Linux]]__ ] | [ __[[vlsi:workbook:computing:unix|UNIX/Linux]]__ ] | ||
[ __[[vlsi:workbook|Design WorkBook]]__ ] | [ __[[vlsi:workbook|Design WorkBook]]__ ] | ||
+ | [ __[[vlsi:private:computing:cluster|VLSI computing cluster references (private)]]__ ] | ||
Linea 63: | Linea 64: | ||
* [[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 482: | ||
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 731: | ||
//[[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: |