Results 1 - 25 of about 35 results out of about 107434 pages. (0.06 seconds)

BashPitfalls . . . 130 matches
... = Bash Pitfalls = This page is a compilation of common mistakes made by bash users. Each example is flawed in some way. <<TableOfContents>> <<Anchor(pf1)>> == for f in $(ls *....

86.2k - rev: 572 (current) last modified: 2024-04-04 23:09:24

BashGuide/Practices . . . 87 matches
... [[BashGuide/JobControl|<- Job Control]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Practices = == Choose Your Shell == The first thing you should do before starting a...

30.2k - rev: 61 (current) last modified: 2023-06-12 00:57:43

BashFAQ/006 . . . 84 matches
...ies", and in Java as a "Map", and in C++11 STL as `std::unordered_map`. {{{#!highlight bash # Bash 4 / ksh93 typeset -A homedir # Declare associative array homedir=( ...

16.8k - rev: 63 (current) last modified: 2023-04-14 06:52:11

BashGuide/CommandsAndArguments . . . 80 matches
... [[BashGuide|<- Contents]] | [[BashGuide/SpecialCharacters|Special Characters ->]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Commands and Arguments = [[BASH]] reads ...

20.8k - rev: 126 (current) last modified: 2023-06-20 18:36:11

BashGuide/TestsAndConditionals . . . 64 matches
... [[BashGuide/Patterns|<- Patterns]] | [[BashGuide/Arrays|Arrays ->]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Tests and Conditionals = Sequential execution of comman...

37.0k - rev: 66 (current) last modified: 2023-07-11 00:34:41

BashGuide/InputAndOutput . . . 57 matches
... [[BashGuide/TestsAndConditionals|<- Tests and Conditionals]] | [[BashGuide/CompoundCommands|Compound Commands ->]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Input And ...

41.7k - rev: 46 (current) last modified: 2023-03-02 12:14:34

BashWeaknesses . . . 47 matches
... There are certain things [[BASH]] is ''not'' very good at. There are certain tasks you shouldn't do in bash, unless you really, truly have to. It's often better to switch to a d...

9.4k - rev: 30 (current) last modified: 2022-09-01 18:14:07

BashGuide/Parameters . . . 44 matches
... [[BashGuide/SpecialCharacters|<- Special Characters]] | [[BashGuide/Patterns|Patterns ->]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Parameters = Parameters are a so...

19.0k - rev: 45 (current) last modified: 2017-04-07 00:32:44

BashGuide/Arrays . . . 43 matches
...[[BashGuide/TestsAndConditionals|<- Tests and Conditionals]] | [[BashGuide/InputAndOutput|Input and Output ->]] ---- <<Anchor(StartOfContent)>> = Arrays = As mentioned earlier, [...

24.6k - rev: 45 (current) last modified: 2021-10-23 00:18:04

BashFAQ/026 . . . 38 matches
... each line; then sorting the resulting lines, and removing the numbers. {{{#!highlight bash # Bash/Ksh randomize() { while IFS='' read -r l ; do printf '%d\t%s\n' "$RANDOM" "$...

12.6k - rev: 48 (current) last modified: 2022-01-30 23:49:34

BashGuide/CompoundCommands . . . 36 matches
...[[BashGuide/InputAndOutput|<- Input and Output]] | [[BashGuide/Sourcing|Sourcing ->]] ---- <<TableOfContents>> <<Anchor(StartOfContent)>> = Compound Commands = [[BASH]] offers n...

14.8k - rev: 28 (current) last modified: 2013-04-13 03:29:17

BashGuide . . . 36 matches
... [[BashGuide/CommandsAndArguments|Commands and Arguments ->]] ---- = Introduction = '''You are invited to make additions or modifications so long as you can keep them accurate. P...

8.1k - rev: 170 (current) last modified: 2021-05-27 20:29:49

BashFAQ/028 . . . 32 matches
...oblem instantly: you no longer depend on the "location" of your script: {{{#!highlight bash if [[ -e ~/.myscript.conf ]]; then source ~/.myscript.conf elif [[ -e /etc/myscript...

11.3k - rev: 47 (current) last modified: 2022-03-16 22:42:19

BashGuide/Patterns . . . 28 matches
... [[BashGuide/Parameters|<- Parameters]] | [[BashGuide/TestsAndConditionals|Tests and Conditionals ->]] ---- <<Anchor(StartOfContent)>> = Patterns = [[BASH]] offers three differen...

11.3k - rev: 34 (current) last modified: 2016-01-15 10:08:43

FullBashGuide . . . 26 matches
... = '''You are invited to make additions or modifications at http://mywiki.wooledge.org/BashGuide so long as you can keep them accurate. Please test any code samples you write.'''...

4.7k - rev: 12 (current) last modified: 2015-05-11 14:09:14

BashFAQ/073 . . . 24 matches
...ortant subject. This page contains a concise overview of parameter expansion. * The [[BashGuide/Parameters#Parameter_Expansion|Bash Guide]] includes an introduction for beginners...

12.0k - rev: 53 (current) last modified: 2023-06-24 09:33:51

BashFAQ/031 . . . 22 matches
... evaluate expressions. `[[ ... ]]` works only in the Korn shell (where it originates), Bash, Zsh, and recent versions of Yash and busybox `sh` (if enabled at compilation time, and...

10.5k - rev: 51 (current) last modified: 2022-05-09 13:49:40

BashFAQ/024 . . . 19 matches
... a separate SubShell. Non-working example: {{{ # Works only in ksh88/ksh93, or zsh or bash 4.2 with lastpipe enabled # In other shells, this will print 0 linecount=0 printf '%s\...

6.4k - rev: 43 (current) last modified: 2023-12-12 13:15:33

FullBashFAQ . . . 15 matches
... = BASH Frequently Asked Questions = || '''Note''': This version is the same as the BashFAQ page but with the full text of the faqs, it is much slower to load but it is easier to...

2.1k - rev: 3 (current) last modified: 2009-03-06 14:18:30

BashFAQ . . . 15 matches
... = BASH Frequently Asked Questions = || '''Note''': The FAQ was split into individual pages for easier editing. Also, for faster loading of this page, the answers are no longer ...

2.3k - rev: 393 (current) last modified: 2021-05-27 20:31:17

BashLoadableBuiltins . . . 14 matches
... [[BASH]] has the ability to load compiled modules to create new commands which interface with the operating system more directly than can be achieved by calling external commands....

1.1k - rev: 7 (current) last modified: 2020-04-25 02:18:36

BashFAQ/017 . . . 13 matches
...able (POSIX or Bourne) way is to use multiple `test` (or `[`) commands: {{{#!highlight bash # Bourne if commandA && commandB || commandC; then ... # or with test(1) calls: if [ t...

2.4k - rev: 10 (current) last modified: 2022-10-20 20:40:35

BashFAQ/016 . . . 10 matches
...atch glob A ''or'' glob B, just put them both on the same command line: {{{#!highlight bash rm -- *.bak *.old }}} If you want to use a logical OR in just part of a glob (larger t...

1.4k - rev: 8 (current) last modified: 2015-03-05 00:31:02

BashGuide/Sourcing . . . 9 matches
...[[BashGuide/CompoundCommands|<- Compound Commands]] | [[BashGuide/JobControl|Job Control ->]] ---- <<Anchor(StartOfContent)>> = Sourcing = When you call one script from another, t...

2.1k - rev: 11 (current) last modified: 2014-11-28 08:19:04

BashFAQ/091 . . . 8 matches
...t the variables COLUMNS / LINES are always empty. == `COLUMNS` and `LINES` are set by [[BASH]] in interactive mode; they are not available by default in a script. On most systems,...

2.4k - rev: 9 (current) last modified: 2016-10-22 17:32:20

1 2 Next