123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="generator" content="GitLab Pages">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <title>Dayalan Saravanan's homepage</title>
- <link rel="stylesheet" type="text/css" href="style.css"/>
- </head>
- <body style="background: #ffffff;" onload="onPageLoad();">
- <div>
- <header>
- <h2>Dayalan Saravanan</h2>
- </header>
- <nav>
- <a href="index.html" class="current">Home</a>
- <a href="datascience.html">DataScience</a>
- <a href="linux.html">Linux</a>
- <a href="math.html">Math</a>
- <a href="music.html">Music</a>
- <a href="numerical.html">Numerical</a>
- <a href="programming.html">Programming</a>
- </nav>
- </div>
- <hr />
- <h4>Shells on a Linux system:</h4>
- <p>The file <code>/etc/shells</code> gives an overview of known shells on a Linux
- system:</p>
- <pre><code>$ cat /etc/shells
- /bin/bash
- /bin/sh
- /bin/tcsh
- /bin/csh
- </code></pre>
- <p>Your default shell is set in the <code>/etc/passwd</code> file, like this line
- for user euclid:</p>
- <pre><code>euclid:L2NOfqdlPrHwE:504:504:Euclid:/home/euclid:/bin/bash</code></pre>
- <p>To switch from one shell to another, just enter the name of the new shell in the
- active terminal. The system finds the directory where the name occurs using the
- <code>PATH</code> settings, and since a shell is an executable file, the current
- shell activates it and it gets executed. A new prompt is usually shown, because each
- shell has its typical appearence:</p>
- <pre><code>$ tcsh
- [euclid@machine ~]$
- </code></pre>
-
- <hr />
- <footer><span>©</span> 2020 Dayalan Saravanan</footer>
- </body>
- </html>
|