|
|
Line 1: |
Line 1: |
| {{Ebuild | | {{Ebuild |
| |Summary=The standard GNU Bourne-again shell. | | |Summary=A modular textUI IRC client with IPv6 support. |
| |CatPkg=app-shells/bash | | |CatPkg=net-irc/irssi |
| |Maintainer= | | |Maintainer= |
| | |Homepage=http://www.irssi.org/ |
| }} | | }} |
| This is the ebuild for <tt>bash</tt>, the standard shell for Funtoo Linux systems.
| | irssi is an command line IRC client based on ncurses. |
|
| |
|
| '''Bash''' is the GNU Project's ''Bourne Again SHell'', a complete implementation of the IEEE POSIX and Open Group shell specification with interactive command line editing, job control on architectures that support it, csh-like features such as history substitution and brace expansion, and a slew of other features. [http://tiswww.case.edu/php/chet/bash/bashtop.html]
| | == Install == |
| | <console>###i## emerge irssi</console> |
|
| |
|
| == Learning Bash == | | == Using irssi == |
| | * to connect |
| | /connect irc.freenode.net |
|
| |
|
| The following articles, written originally for IBM developerWorks by Daniel Robbins, serve as an excellent introduction to the bash shell:
| | * to set a user name |
| | /nick newuser |
|
| |
|
| * [[Bash by Example, Part 1]] | | * to join a channel |
| * [[Bash by Example, Part 2]]
| | /j #funtoo |
| * [[Bash by Example, Part 3]]
| |
|
| |
|
| == Moving on Command Line ==
| | * to exit |
| | /exit |
|
| |
|
| {|class="table table-striped"
| |
| || Shortcut || Description
| |
| |-
| |
| || <code>Tab</code> || Autocomplete
| |
| |-
| |
| || <code>Ctrl + r</code> || Search as you type from lastlog
| |
| |-
| |
| || <code>Ctrl + a</code> || Move to the start of line
| |
| |-
| |
| || <code>Ctrl + e</code> || Move to the end of line
| |
| |-
| |
| || <code>Ctrl + k</code> || Cut from cursor to the end of line
| |
| |-
| |
| || <code>Ctrl + w</code> || Cut from cursor to the previous whitespace
| |
| |-
| |
| || <code>Ctrl + c</code> || Clear line
| |
| |-
| |
| || <code>Ctrl + l</code> || Clear screen
| |
| |-
| |
| ||<code>Alt + f</code> || Move one word forward
| |
| |-
| |
| || <code>Alt + b</code> || Move one word backwards
| |
| |-
| |
| || <code>Alt + d</code> || Cut from cursor to the end of word
| |
| |-
| |
| || <code>Alt + backspace</code> || Cut from cursor to the start of word
| |
|
| |
|
| |}
| | == External Resources == |
| | | http://www.irssi.org/documentation documentation |
| == Bash Completion == | |
| See [[Package:Bash completion|bash completion page]].
| |
| | |
| == Configuration Files ==
| |
| === ~/.bashrc ===
| |
| <code>~/.bashrc</code> gets loaded on bash startup. You can source files, put aliases, functions and export variables there.
| |
| {{file|name=~/.bashrc|lang=bash|desc=bash runtime configuration|body=
| |
| <nowiki>source /etc/profile.d/bash-completion.sh
| |
| | |
| export EDITOR="vim"
| |
| | |
| alias mv='mv -v'
| |
| alias cp='cp -v'
| |
| alias rm='rm -v'
| |
| | |
| alias e='emerge'
| |
| alias eu='emerge -uavDN --with-bdeps=y @world'
| |
| | |
| alias used='cat ~/.bash_history | sort | uniq -c | sort -n'
| |
| | |
| calculator() {
| |
| echo "$@" | bc
| |
| }</nowiki>
| |
| }}
| |
|
| |
|
| | {{PageNeedsUpdates}} |
| {{EbuildFooter}} | | {{EbuildFooter}} |
| | [[Category:IRC]] |