create account

LEARNING BASH #3 • BASHRC by wglenz

View this thread on: hive.blogpeakd.comecency.com
· @wglenz · (edited)
$0.09
LEARNING BASH #3 • BASHRC
<center><h3>LEARNING BASH</h3><a href="https://steempeak.com/@wglenz">Published with SteemPeak</a></center>

<center>![Screenshot](https://files.steempeak.com/file/steempeak/wglenz/Ran2YYUX-Screenshot20from202019-05-242013-59-26.png)Screenshot by Willi Glenz</center>


<center><h4>CONTENTS</h4></center>

```
001 • sources										v2 19-05
003 • ~/.bashrc										v1 19-05 new
002 • script-editor									v1 19-05 
```

<br>
<center><h4>#003</h4></center>

```
003 • BASHRC
```
```
$ vim ~/.bashrc
export PATH=$HOME/bin:$PATH
:wq
```

<br>
```
002 • SCRIPT-EDITOR 
```
```
#!/bin/bash
# scripteditor
# ~/bin/ed
# ed scriptname.sh

[ -z "$1" ] && exit 1

vim "$HOME/bin/$1"
chmod 744 "$HOME/bin/$1"
exit
```

<br>
```
001 • SOURCES
```
```
ADVANCED-BASH-SCRIPTING-GUIDE
# apt search abs-guide
# apt show abs-guide
# apt install abs-guide
$ dpkg -L abs-guide
> file:///usr/share/doc/abs-guide/html/index.html
```
```
Advanced Bash Scripting Guide	: tldp.org/LDP/abs/html/
Bash Guide for Beginners		: tldp.org/LDP/Bash-Beginners-Guide/html/index.html
```
👍  , , , , , , , , , ,
properties (23)
authorwglenz
permlinklearning-bash-3-bashrc
categorylinux
json_metadata{"app":"steempeak/1.9.9","format":"markdown","tags":["linux","debian","bash","tutorial"],"users":["wglenz"],"links":["/@wglenz"],"image":["https://files.steempeak.com/file/steempeak/wglenz/Ran2YYUX-Screenshot20from202019-05-242013-59-26.png"]}
created2019-05-25 12:32:21
last_update2019-05-25 18:15:24
depth0
children0
last_payout2019-06-01 12:32:21
cashout_time1969-12-31 23:59:59
total_payout_value0.070 HBD
curator_payout_value0.021 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,055
author_reputation1,727,575,717,311
root_title"LEARNING BASH #3 • BASHRC"
beneficiaries
0.
accountsteemchiller
weight100
1.
accountsteempeak
weight100
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id85,470,701
net_rshares155,858,455,269
author_curate_reward""
vote details (11)