注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Bash"

From Funtoo
Jump to navigation Jump to search
Line 16: Line 16:
* [[Bash by Example, Part 3]]
* [[Bash by Example, Part 3]]


== Moving on command line ==
== Moving on Command Line ==


{|class="table table-striped"
{|class="table table-striped"
|| Shortcut || Description
|| Shortcut || Description
|-
|| <code>Ctrl + r</code> || Search as you type from lastlog
|-
|-
|| <code>Ctrl + a</code> || Move to the start of line
|| <code>Ctrl + a</code> || Move to the start of line
Line 26: Line 28:
|-
|-
|| <code>Ctrl + k</code> || Cut from cursor 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 + c</code> || Clear line
|-
|| <code>Ctrl + l</code> || Clear screen
|-
|-
||<code>Alt + f</code> || Move one word forward
||<code>Alt + f</code> || Move one word forward
Line 36: Line 42:
|-
|-
|| <code>Alt + backspace</code> || Cut from cursor to the start of word
|| <code>Alt + backspace</code> || Cut from cursor to the start of word
|}
|}
== Bash Completion ==
See bash completion page.
[[Package:Bash completion]]


{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 17:31, October 1, 2014

Bash

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

This is the ebuild for bash, the standard shell for Funtoo Linux systems.

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. [1]

Learning Bash

The following articles, written originally for IBM developerWorks by Daniel Robbins, serve as an excellent introduction to the bash shell:

Moving on Command Line

Shortcut Description
Ctrl + r Search as you type from lastlog
Ctrl + a Move to the start of line
Ctrl + e Move to the end of line
Ctrl + k Cut from cursor to the end of line
Ctrl + w Cut from cursor to the previous whitespace
Ctrl + c Clear line
Ctrl + l Clear screen
Alt + f Move one word forward
Alt + b Move one word backwards
Alt + d Cut from cursor to the end of word
Alt + backspace Cut from cursor to the start of word

Bash Completion

See bash completion page.

Package:Bash completion