about summary refs log tree commit diff stats
path: root/core/bash.html
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-08-23 00:12:10 +0100
committerSilvino Silva <silvino@bk.ru>2016-08-23 00:12:10 +0100
commit8f1aaf5e8934d298915123cf8e4d85e12a9d4709 (patch)
tree275be3c1178a0df017c6495272e09c15c4148d1b /core/bash.html
parent0c5f6a65096bd76104890a290574ce21827d3036 (diff)
downloaddoc-8f1aaf5e8934d298915123cf8e4d85e12a9d4709.tar.gz
core terminal dash and bash revision
Diffstat (limited to 'core/bash.html')
-rw-r--r--core/bash.html34
1 files changed, 8 insertions, 26 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