summaryrefslogtreecommitdiffhomepage
path: root/bash.html.markdown
Commit message (Collapse)AuthorAgeLines
* [bash/en] add `cd` and `cd -` usesTucker Boniface2018-10-02-0/+3
|
* Merge pull request #3167 from archatas/patch-1Adam Bard2018-08-24-1/+1
|\ | | | | shebang updated
| * shebang updatedAidas Bendoraitis2018-07-25-1/+1
| |
* | missing $ on line 77 - $Lengthkfrncs2018-07-20-1/+1
|/ | | | | | Maybe just a zsh quirk? ➜ ~ echo ${Variable:0:Length} zsh: unrecognized modifier
* [bash/en] Add arrays and aliasNeinei0k2017-11-14-0/+26
|
* Fixed line 59 - printingJoyce Kung2017-10-13-1/+1
| | | Using echo with ' ' means that the variable won't be expanded, so it should print the literal $Variable instead of some string.
* [bash/en] Fixed formatting for The Black HoleHarry Mumford-Turner2017-10-02-4/+3
| | | | | | | | - [x] I solemnly swear that this is all original content of which I am the original author - [x] Pull request title is prepended with `[language/lang-code]` - [x] Pull request touches only one file (or a set of logically related files with similar changes made) - [x] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts) - [x] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.markdown) - [x] Yes, I have double-checked quotes and field names!
* [bash/en] Provide example outputs for #549Keith Miyake2017-09-29-24/+66
|
* [bash/en-us]Fix spelling (#2654)Rholais Lii2017-02-12-1/+1
| | | | | | * Fix spelling * Remove the contributor tag
* Removed excessive dollar signs (#2447)Remigiusz Suwalski2016-10-13-2/+2
| | | There is no $ when one referencec the name of a variable as Bash is not PHP.
* Reword pwd comments (#2402)Tim Heaney2016-10-02-2/+2
| | | | Getting is redundant. Observe, not observer.
* [bash/en] Remove link unavailable resource (#2372) (#2373)Isaac Virshup2016-09-16-2/+0
| | | Link pointed to a book which was not released. Fixes #2372.
* [bash/en] Addition to bash (#2302)Leo Rudberg2016-07-10-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added bash intro edits * Fixed page header * Finalizing updates Implemented my changes in the main bash code chunk instead of as an out-of-code prologue * Final touches * Added citation for John and mkdir content * Added removed original intro back in * Update bash.html.markdown Moved "hard way" link to top of article Fixed spacing Grouped `rm` commands * Fixed typos
* [bash/en] basic parameter expansion, and brace expansion (#1533)Jonathan Wang2016-06-26-0/+14
| | | | | | | | | | * Added brace expansion as well as basic parameter expansion * frogot my name * Update bash.html.markdown Added to parameter expansion
* Add an example of trap command (#1826)Sachin Divekar2016-06-26-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Begin writing document for PCRE Started writing learnxinyminutes document for PCRE to cover general purpose regular expressions. Added introduction and a couple of details. * Change introductory example for regex The old example was incorrect. It's replaced with a simple one. * Add some more introductory text * Add first example * Added more example and a table for proper formatting * Add few more examples * Formatting * Improve example * Edit description of character classes * Add a way to test regex Add https://regex101.com/ web application to test the regex provided in example. * Add example of trap command trap is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document. Here a simple and most common example of using trap command i.e. cleanup upon receiving signal is added. * Revert "Add example of trap command" * Add an example of trap command `trap` is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document. Here a simple and most common example of using `trap` command i.e. cleanup upon receiving signal is added.
* Fix a mistake in fgrep example (#2254)Viren Nadkarni2016-05-12-1/+1
|
* Merge pull request #1636 from viv1/patch-2ven2016-03-11-0/+9
|\ | | | | [bash/en]...Added info on changing directories
| * [bash/en]...Added info on changing directoriesviv12015-10-19-0/+9
| |
* | Use proper string comparison syntaxMatteo Baglini2016-01-12-4/+4
|/
* [bash/en] use $var with quotes in conditionsAwal Garg2015-10-14-2/+11
|
* removing whitespace all overGabriel Halley2015-10-07-1/+1
|
* [bash/en] Improved descriptionsksami2015-10-02-7/+7
|
* fixed spelling errorLiam Edwards-Playne2015-05-26-1/+1
|
* fix spelling errorsLiam Edwards-Playne2015-05-20-2/+2
|
* Fix issue with referring to "output.txt" but examples use "output.out"Levi Bostian2015-05-11-2/+2
| | | Fixes https://github.com/adambard/learnxinyminutes-docs/issues/1095
* Don't use ALL_CAPS variable names.Etan Reisner2015-05-07-29/+29
| | | | | | | | ALL_CAPS variable names are traditionally "reserved" for use by the shell/system. (People often try to use PATH for things locally and then wonder why their commands all stop working for example.
* Merge pull request #1080 from kryzhovnik/bash/clear-variable-default-valueLevi Bostian2015-05-02-1/+2
|\ | | | | Clear explanation of default value expression
| * Clear explanation of default value expressionAndrey Samsonov2015-05-02-1/+2
| |
* | Clear that length and position can be set by variable in substring extractionAndrey Samsonov2015-05-02-1/+2
|/
* Follow variable capitalization on this branch.Etan Reisner2015-04-27-2/+2
|
* Add another very common shell variable assignment mistake.Etan Reisner2015-04-26-1/+8
|
* Add myself as a contributor.Etan Reisner2015-04-26-0/+1
|
* [bash/en] Fixed overflowing line.Sriram Sundarraj2015-04-24-2/+4
|
* Merge pull request #839 from westurner/patch-1Levi Bostian2014-11-01-6/+39
|\ | | | | [bash/en] add bash redirection examples
| * [bash/en] bash.html.markdown: add bash redirection examplesWes Turner2014-11-01-6/+39
| |
* | DOC: bash.html.markdown: add bash docs examplesWes Turner2014-10-30-0/+26
|/
* Fix beginning typo from bashLevi Bostian2014-10-17-1/+1
|
* Changed descriptions, added grep, fgrep examplesGregory S. Kielian2014-10-04-4/+8
|
* amended sed and bash descriptionsGregory S. Kielian2014-09-27-2/+2
|
* amended grep descriptionGregory S. Kielian2014-09-27-1/+1
|
* Added `sed` and `grep` examples to useful-commandsGregory S. Kielian2014-09-27-0/+5
|
* Add traditional for loop bash example to close ↵Levi Bostian2014-09-05-0/+7
| | | | https://github.com/adambard/learnxinyminutes-docs/pull/654
* -ne not equalSamuel Marks2014-08-23-2/+2
|
* Added two new ways to use for loops.LumenTeun2014-08-08-0/+14
|
* Fixed typo.LumenTeun2014-08-08-1/+1
|
* Fixed while loop.LumenTeun2014-08-08-1/+1
|
* && and || in Bash if statements.LumenTeun2014-08-06-0/+12
|
* add a contributor line :)Akira Hirose2014-07-23-0/+1
|
* just collected the order of comments and commands of last partAkira Hirose2014-07-23-5/+5
|
* Variable substrJustin Campbell2014-02-28-0/+4
|