summaryrefslogtreecommitdiffhomepage
path: root/bash.html.markdown
Commit message (Collapse)AuthorAgeLines
* Update bash.html.markdownGabriel Sroka2022-02-01-1/+1
| | | fix minor typo
* [bash/en] More details about pipe and redirection (#4119)Michael Chen2022-01-04-4/+11
| | | | | * Update bash.html.markdown * More details about pipe and redirection
* [bash/en] Add info on background commands with & (#4120)Michael Chen2022-01-04-0/+13
| | | | | * Add info on background commands with & * Update bash.html.markdown
* Clarify that "sort" doesn't modify the file (#4121)Michael Chen2022-01-04-1/+1
|
* [bash/en] Update bash.html.markdown (#4202)MarkGrimwood2021-08-22-1/+6
| | | Additional info on arguments and return values for functions
* [bash/en] Small updatesLilian Besson2021-01-29-7/+20
| | | | | | | - I added https:// for the links, it's 2021, http:// is dead - fixed two comments which where `#text` => `# text` for consistency - added a link to `trash-cli` Python package which provides `trash` as a "safe" alternative to `rm` - add warning that `sed -i` erase (replace) the input file - add `...` around fgrep and grep -F, for consistency too
* removed MacOS from introkevinnls2020-08-01-2/+2
| | | | MacOS no longer ships bash as the default shell
* Merge pull request #3906 from lemonez/patch-1Max Schumacher2020-07-07-1/+3
|\ | | | | [bash/en] fix small omission
| * fix small typolemonez2020-04-16-1/+3
| | | | | | pass -e flag to echo to interpret escape characters correctly
* | fix typo bash.html.markdownoliv372020-05-26-1/+1
| |
* | Add indirect expansion in bash.html.markdownoliv372020-05-26-0/+5
|/
* [bash/gr] Translate Bash to greek (#3595)Dimitri Kokkonis2019-08-10-8/+10
| | | | | | | | * Add greek translation for the HTML language * Correct typo in source file name * Translate Bash to greek
* [bash/en] Fix line lengthAndre Polykanine2018-12-24-30/+40
|
* Merge branch 'master' into masterDivay Prakash2018-10-24-1/+31
|\
| * Merge pull request #3249 from heyitswither/fix-substring2Divay Prakash2018-10-03-1/+1
| |\ | | | | | | [bash/en] clarify range of substring
| | * [bash/en] clarify range of substringTucker Boniface2018-10-02-1/+1
| | |
| * | Merge pull request #3248 from heyitswither/fix-cd2Divay Prakash2018-10-03-0/+3
| |\ \ | | | | | | | | [bash/en] add `cd` and `cd -` uses
| | * | [bash/en] add `cd` and `cd -` usesTucker Boniface2018-10-02-0/+3
| | |/
| * / [bash/en] clarify quoted delimiter for heredocs (fixes #3061)Tucker Boniface2018-10-02-0/+1
| |/
| * 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
| |
* | Un-markdown-ify linkMartin Nicholson2018-01-16-1/+1
| |
* | Added section for =~ operatorMartin Nicholson2018-01-16-0/+10
| |
* | Added string length exampleMartin Nicholson2018-01-16-2/+5
| |
* | Added second substring exampleMartin Nicholson2018-01-16-0/+3
|/
* 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
| |