diff options
-rw-r--r-- | core/bash.html | 34 | ||||
-rw-r--r-- | core/dash.html | 28 | ||||
-rw-r--r-- | core/tty-terminal.html | 8 |
3 files changed, 39 insertions, 31 deletions
diff --git a/core/bash.html b/core/bash.html index ab1350d..a4fc240 100644 --- a/core/bash.html +++ b/core/bash.html @@ -2,28 +2,20 @@ <html dir="ltr" lang="en"> <head> <meta charset='utf-8'> - <title>4. Bash</title> + <title>4.2. Bash</title> </head> <body> - <a href="index.html">Systools Index</a> + <a href="index.html">Core OS Index</a> - <h1 id="bash">4. Bash</h1> + <h1 id="bash">4.2. Bash</h1> - <p>First create skeleton directory to place the default user - files to be copied to its home directory by - <a href="users.html#useradd">useradd</a> command.</p> - - <pre> - $ sudo mkdir /etc/skel - </pre> - - <p>Just to be sure, setup bash as default;<p> + <p>Just to be sure, setup bash as default login;<p> <pre> $ chsh </pre> - <h3>Description of configuration files</h3> + <p>Description of configuration files;</p> <dl> <dt>~/.bash_profile</dt> @@ -40,15 +32,11 @@ alias, editor.</dd> </dl> - <h2 id="profile">4.1. Profile</h2> + <h2 id="profile">4.2.1. Profile</h2> <p>Example of ~/.profile;</p> <pre> - $ sudo vim /etc/skel/.profile - </pre> - - <pre> PATH=~/.composer/vendor/bin:${PATH} export GPG_AGENT_INFO # the env file does not contain the export statement @@ -57,11 +45,7 @@ <h2 id="bashrc">4.2. Bash RC</h2> - <p>Example of bashrc;</p> - - <pre> - $ sudo vim /etc/skel/.bashrc - </pre> + <p>Example of ~/.bashrc;</p> <pre> # If not running interactively, don't do anything @@ -124,9 +108,7 @@ <h2 id="bash_profile">4.3. Bash profile</h2> - <pre> - $ sudo vim /etc/skel/.bash_profile - </pre> + <p>Example of ~/.bash_profile;</p> <pre> #!/bin/bash diff --git a/core/dash.html b/core/dash.html new file mode 100644 index 0000000..f5e50e9 --- /dev/null +++ b/core/dash.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html dir="ltr" lang="en"> + <head> + <meta charset='utf-8'> + <title>4.1. Dash</title> + </head> + <body> + + <a href="index.html">Core OS Index</a> + + <h1>4.1. Dash</h1> + + + <p>By default dash installed as /bin/sh, if not relink;</p> + + <pre> + # ln -sfT dash /bin/sh + </pre> + + + <a href="index.html">Core OS Index</a> + <p>This is part of the c9 Manual. + Copyright (C) 2016 + Silvino Silva. + See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a> + for copying conditions.</p> + </body> +</html> diff --git a/core/tty-terminal.html b/core/tty-terminal.html index 0d10bb8..5fead7e 100644 --- a/core/tty-terminal.html +++ b/core/tty-terminal.html @@ -18,6 +18,7 @@ keyboard.</dd> <dt>Terminal</dt> + <dd>A terminal provides text input/output environment that can be used to interact with a console (monitor or keyboard) or transmitted using serial communication. @@ -32,8 +33,9 @@ processes. Example of shells dash and bash.</dd> </dl> + <p>Content of /etc/inittab shows layout organization and default - run level;</p> + run level and ttys;</p> <pre> # @@ -68,10 +70,6 @@ # End of file </pre> - <p>By default dash installed as /bin/sh, </p> - - <p>To change default login shell with chsh</p> - <a href="index.html">Core OS Index</a> <p>This is part of the c9 Manual. |