Skip to content

Commit 35c26fa

Browse files
committed
Merge branch 'master' of https://github.com/luacm/terminal-intro
erg
2 parents 7912de4 + 84f1492 commit 35c26fa

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

power.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# The whole point
2+
3+
* Like I said earlier, the purpose is to make your life easier. Now that we have gotten past the unfortunate parts that you need to know in order to use these tools, we can dive into some of the benefits you will receive.
4+
5+
## Fast Configuration
6+
7+
* Using other computers is a pain because you have gotten used to your own, right? No one has their environment setup quite like yours.
8+
* Can be solved with a package manager such as __Homebrew__ (for macs) or ___apt-get___ (for debian based linux distros, ie. Ubuntu)
9+
* ex. there is a better command for ``` grep ``` called ``` ack ```. How easy is it to install? If you have homebrew ``` brew install ack ``` or with apt-get ``` sudo apt-get install ack-grep ```.
10+
* Thats pretty cool but it would be a pain to remember them all and execute them everytime you wanted to set up a new workstation. Solution? write a bash script. Better solution? edit your __bashrc__ (linux) or __bash_profile__ (Mac) file
11+
12+
### .bashrc
13+
14+
* Lists all the additional configurations for your shell. (Demo with yours on and off)
15+
* Do an alias example
16+
* Put yours up on github page
17+
* source after you change it
18+
19+
20+
## Advanced Shell stuff
21+
22+
* ``` crtl- a ``` beginning of the line ``` crtl-e ``` end of the line
23+
* ``` !<command>``` redo last use of the command, ``` !! ``` do last command again
24+
* ``` echo $? ``` prints whether the last command was successful 0 or the error code
25+
* Scripting
26+
* | < >
27+
* history, arrow up and down
28+
29+
## Advanced VIM stuff
30+
31+
* compile with make file and navigate to errors using quickfix
32+
33+
## Screen and Tailing error logs

0 commit comments

Comments
 (0)