Results 51 - 75 of about 100 results out of about 106275 pages. (0.14 seconds)

BashFAQ/045 . . . 1 match
...iptor and not the lock file? How can we ensure we use something that is not already being used? For more discussion on these issues, see ProcessManagement. ---- CategoryShell...

5.9k - rev: 28 (current) last modified: 2024-01-28 01:21:49

BashFAQ/044 . . . 1 match
...nc enters a directory and finds more/less files that it expected, but at least is more info than cp. Rsync progress is good for big transfers with small files. ---- CategoryShell...

5.3k - rev: 15 (current) last modified: 2017-11-13 22:19:11

BashFAQ/043 . . . 1 match
...on systems which split the {{{crontab}}} manual into two parts, you may have to type {{{man 5 crontab}}} or {{{man -s 5 crontab}}} to read the part you need.'' ---- CategoryShell...

0.6k - rev: 8 (current) last modified: 2014-04-29 02:10:28

BashFAQ/042 . . . 1 match
...nd. If it automatically "daemonizes" itself, you are screwed. For a much better discussion of these issues, see ProcessManagement or [[BashFAQ/033|FAQ #33]]. ---- CategoryShell...

2.2k - rev: 10 (current) last modified: 2012-10-27 10:38:13

BashFAQ/040 . . . 1 match
...t \ --begin 3 10 --msgbox "Press OK " 5 30 wait }}} For an example of creating a progress bar using {{{dialog --gauge}}}, see [[BashFAQ/044|FAQ #44]]. ---- CategoryShell...

3.1k - rev: 14 (current) last modified: 2022-04-13 15:05:34

BashFAQ/039 . . . 1 match
...<<Anchor(faq39)>> == What are all the dot-files that bash reads? == See DotFiles. ---- CategoryShell...

0.1k - rev: 3 (current) last modified: 2010-06-25 20:08:43

BashFAQ/037 . . . 1 match
...tivity. There is nothing wrong with that, but FAQ answers should proably be be geared more toward production than tinkering around with old gear. -- KazKylheku ---- CategoryShell...

10.9k - rev: 36 (current) last modified: 2023-10-01 21:59:10

BashFAQ/035 . . . 1 match
...tatement that processes them, and in the help/usage message that documents them. For other, more complicated ways of option parsing, see ComplexOptionParsing. ---- CategoryShell...

8.1k - rev: 119 (current) last modified: 2024-02-26 07:51:38

BashFAQ/034 . . . 1 match
... printf '\r%s\n' "$*" } until work_done; do spin some_work ... done endspin }}} A similar technique can be used to build [[BashFAQ/044|progress bars]]. ---- CategoryShell...

1.6k - rev: 16 (current) last modified: 2023-10-26 18:03:57

BashFAQ/033 . . . 1 match
...ashFAQ/045|FAQ 45]]. ProcessManagement also covers topics like "I want to divide my batch job into 5 'threads' and run them all in parallel." Please read it. ---- CategoryShell...

4.1k - rev: 8 (current) last modified: 2009-12-30 18:39:04

BashFAQ/032 . . . 1 match
...log 2>&1 $ cat log [1] 10316 [1]+ Done sleep 1 }}} Of course you may opt to redirect to `/dev/null` instead of a file. ---- CategoryShell CategoryExampleCode...

2.7k - rev: 15 (current) last modified: 2018-07-26 21:28:38

BashFAQ/031 . . . 1 match
...int $x >&2;}1, x ))" ) # Prints 1, 2 ( print "$(( $((++x)), ${ x+=1; print $x >&2;}1, x ))" ) # Prints 2, 2 - because expansions are performed first. }}} ---- CategoryShell...

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

BashFAQ/029 . . . 1 match
...dev/null) && printf '%s\n' "${ll#* -> }" else return 1 fi } }}} However, this can fail if a symbolic link contains " -> " in its name. ---- CategoryShell...

1.0k - rev: 7 (current) last modified: 2013-07-26 22:44:57

BashFAQ/028 . . . 1 match
...ymbolic links affect your ability to know where you are at any given moment, see [[http://doc.cat-v.org/plan_9/4th_edition/papers/lexnames|this Plan 9 paper]]. ---- CategoryShell...

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

BashFAQ/027 . . . 1 match
...f you run more than one instance of scriptA. === Named Pipes === Named pipes are a much richer form of IPC. They are described on their own page: NamedPipes. ---- CategoryShell...

2.3k - rev: 7 (current) last modified: 2010-05-11 05:25:30

BashFAQ/026 . . . 1 match
...nt the same results every time, you can change `srand(seed);` to `srand();` in the awk program. Awk will then seed its PRNG using the current epoch timestamp. ---- CategoryShell...

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

BashFAQ/025 . . . 1 match
...on of how to process command line arguments is available in [[BashFAQ/035|FAQ #35]], and another is found at http://www.shelldorado.com/goodcoding/cmdargs.html ---- CategoryShell...

2.0k - rev: 26 (current) last modified: 2024-03-28 14:56:51

BashFAQ/024 . . . 1 match
..., thereby limiting its usefulness in an interactive shell. For more related examples of how to read input and break it into words, see [[BashFAQ/001|FAQ #1]]. ---- CategoryShell...

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

BashFAQ/022 . . . 1 match
...olved with integers and no division. If possible, it's usually more efficient to convert your problem to integer arithmetic than to use non-integer arithmetic. ---- CategoryShell...

5.3k - rev: 84 (current) last modified: 2021-09-01 06:31:58

BashFAQ/021 . . . 1 match
...arch r=$rep awk 'BEGIN {s=ENVIRON["s"]; r=ENVIRON["r"]; l=length(s)} {o=""; while (i=index($0, s)) {o=o substr($0,1,i-1) r; $0=substr($0,i+l)} print o $0}' }}} ---- CategoryShell...

13.5k - rev: 83 (current) last modified: 2022-11-03 23:42:27

BashFAQ/020 . . . 1 match
...ion about handling filenames in shell, see [[http://www.dwheeler.com/essays/filenames-in-shell.html|Filenames and Pathnames in Shell: How to do it Correctly]]. ---- CategoryShell...

4.3k - rev: 39 (current) last modified: 2016-03-06 16:39:47

BashFAQ/019 . . . 1 match
...wk can also be used to produce a more or less equivalent result: {{{#!highlight bash awk -v range=10 '{print > FILENAME "." (int((NR -1)/ range)+1)}' file }}} ---- CategoryShell...

2.0k - rev: 162 (current) last modified: 2022-04-19 12:13:19

BashFAQ/018 . . . 1 match
...ding the subshells (requires bash 3.1): {{{#!highlight bash # Bash 3.1 for i in {1..100}; do printf -v n %03d $i wget "$prefix$n.jpg" sleep 5 done }}} ---- CategoryShell...

7.0k - rev: 26 (current) last modified: 2019-08-21 16:24:29

BashFAQ/017 . . . 1 match
...mes after "1", and the next character "0" is not considered. Changing the square brackets to double parentheses {{{(( ))}}} makes the example work as expected. ---- CategoryShell...

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

BashFAQ/016 . . . 1 match
...The_Final_Cut*) }}} By the way: these kind of patterns can be used with the KornShell, too. They don't have to be enabled there, but are the default patterns. ---- CategoryShell...

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

Previous 1 2 3 4 Next