Difference between pages "Package:Bash" and "Programming"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (insert media)
 
(fix package templates, move several video playlists to more appropriate pages in hopes to improve this pages performance. sorry about the string of updates.)
 
Line 1: Line 1:
{{Ebuild
Programming is a skill that is helpful to contribute back to linux, gnu, and other software sources.  This page is dedicated to improving our programming & scripting skills.  The author of this page suggests bash, c, and python for funtoo users. This page is a bit of a mess for the moment, it will be broken up into sub pages.  cobol is so gangster, it's stupid....
|Summary=The standard GNU Bourne-again shell.
|CatPkg=app-shells/bash
|Maintainer=
}}
This is the ebuild for <tt>bash</tt>, 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. [http://tiswww.case.edu/php/chet/bash/bashtop.html]
==Programming Languages==
===Assembly Language===
{{#widget:YouTube|playlist=PL4C2714CB525C3CD7}}


== Learning Bash ==
===Bash===
{{package|app-shells/bash}}


The following articles, written originally for IBM developerWorks by Daniel Robbins, serve as an excellent introduction to the bash shell:
===C===
{{#widget:YouTube|playlist=PLkB3phqR3X40reMCBYSoNUPbDvM4kybMs}}


* [[Bash by Example, Part 1]]
===C++===
* [[Bash by Example, Part 2]]
{{#widget:YouTube|playlist=PLAEwfbJn6kqFnzJjYi0vNn69VNSsL3guo}}
* [[Bash by Example, Part 3]]


== Moving on Command Line ==
===Cobol===
{{#widget:YouTube|playlist=PLw2d78nGwdI-FwgYrZOIHT4TIlgE6G--a}}


{|class="table table-striped"
===Fortran===
|| Shortcut || Description
{{#widget:YouTube|playlist=PLj1FmKKVt84VRooS72BVR1n3M1awzRbj2}}
|-
|| <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


|}
=== Go ===
{{#widget:YouTube|playlist=PL0irJ82JAlEh7E9fHr75lOMaORN8sTvTD}}


== Bash Completion ==
===java===
See [[Package:Bash completion|bash completion page]].
{{package|dev-java/oracle-jdk-bin}}


== Configuration Files ==
===lua===
=== ~/.bashrc ===
{{#widget:YouTube|playlist=PL5D2E7A4DD535E276}}
<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=
source /etc/profile.d/bash-completion.sh


export EDITOR="vim"
=== Mysql ===
{{package|dev-db/mysql}}


alias mv='mv -v'
===ObjectiveC===
alias cp='cp -v'
{{#widget:YouTube|playlist=PL54515103C712A53D}}
alias rm='rm -v'


alias e='emerge'
===Perl===
alias eu='emerge -uavDN --with-bdeps=y @world'
{{package|dev-lang/perl}}


alias used='cat  ~/.bash_history {{!}} sort {{!}} uniq -c {{!}} sort -n'
=== PHP ===
{{package|dev-lang/php}}


calculator() {
===Python===
        echo "$@" {{!}} bc
[[Python]]
}
}}


== media ==
==== Qt Framework ====
{{#widget:YouTube|playlist=PLDOiVunkOLsEJF2toupqFubpWtVasDqOg}}
{{package|dev-qt/qtcore}}


{{EbuildFooter}}
===Ruby===
{{package|dev-ruby/ruby}}
 
===Tex===
{{#widget:YouTube|playlist=PLlLAyGJ7_7MFcSTHMVMErZ1GW0pGOfWtd}}
 
== External Resources ==
https://en.wikipedia.org/wiki/List_of_programming_languages

Revision as of 02:51, November 4, 2014

Programming is a skill that is helpful to contribute back to linux, gnu, and other software sources. This page is dedicated to improving our programming & scripting skills. The author of this page suggests bash, c, and python for funtoo users. This page is a bit of a mess for the moment, it will be broken up into sub pages. cobol is so gangster, it's stupid....

Programming Languages

Assembly Language

Bash

app-shells/bash

C

C++

Cobol

Fortran

Go

java

dev-java/oracle-jdk-bin

lua

Mysql

dev-db/mysql

ObjectiveC

Perl

dev-lang/perl

PHP

dev-lang/php

Python

Python

Qt Framework

dev-qt/qtcore

Ruby

No results

Tex

External Resources

https://en.wikipedia.org/wiki/List_of_programming_languages