11,644 reputation
11432
bio website
location
age 30
visits member for 3 years, 10 months
seen 1 hour ago

Jun
18
revised How to tell apt that dependencies are resolved manually?
Added link to TeX.SX.
Jun
2
awarded  Custodian
Jun
2
reviewed No Action Needed Find all MKV files and remove all subtitles
May
27
comment LaTeX creates some long lines (longer than 'linewidth')
I can add that the situation where a line is not fully filled up is analogously called an "underfull hbox".
May
27
comment LaTeX creates some long lines (longer than 'linewidth')
@BaharS: Either the hint, or if you do not want it hyphenated, reword the sentence. The hyphenation algorithm in LaTeX is advanced and tries hard to work around these issues, so if it happens, it is for a reason. As a corollary, these kinds of rewordings are the very last thing one should do to avoid doubling the work in case one adds more information to the sentence anyway. If one is OK with hyphenation, the \- trick is alright. If the same word occurs in many places, one can add the hyphenation pattern once and for all with e.g. `\hyphenation{ex-em-pli-fy}, typically given in the preamble.
May
27
answered LaTeX creates some long lines (longer than 'linewidth')
May
27
comment script to delete duplicate files using md5
If you properly indent your code it will be easier to read. Remove the space after h= on line 22 and after s= on line 29. Use $((b+a)) instead of expr to add $a and $b. Use e.g. for f in "$directory/*" instead of parsing ls output. Quote your variables. No need to mix between [ = ] and [ == ] — do you know the difference? Edit: I see that l0b0 was thinking along the same lines :-) .
May
15
awarded  Good Answer
Apr
29
answered Find particular file from extension from particular directory
Apr
29
comment Find particular file from extension from particular directory
Please include an actual example. It is really difficult to understand what you want at the moment, but an example is usually sufficient to explain such a task.
Apr
29
reviewed Approve suggested edit on Find particular file from extension from particular directory
Apr
29
reviewed Approve suggested edit on NO <DUTY, RUN, PERIOD, POLARITY> in bone_capemgr.9(ocp.2/pwm_test_P8_13.#)FILE Beaglebone Black
Apr
28
comment How to launch a bash script in another one?
@RaspDealer: You can set such privileges in the sudo configuration file via the visudo command. Read up on the syntax. There might also be annotated examples and further instructions in the file when it opens.
Apr
28
comment How to launch a bash script in another one?
The "test.sh done!" line will right now be written to the log directly after test.sh has forked; not when the command is actually done. You should rather have a second line like: (sudo ./temp.sh "$1" "$2" "$3" && echo "test.sh done!") >>/home/pi/test.log &. You still won't be able to provide credentials for sudo non-interactively, so you will need to give the Deluge user sudo privileges to execute test.sh without password authentication for your attempt to work.
Apr
22
awarded  Caucus
Apr
16
awarded  Nice Answer
Apr
16
reviewed Reject suggested edit on Ctrl+Backspace inserts a small box instead of erasing
Apr
16
reviewed Reject suggested edit on How to clear the contents of a file from the command line?
Apr
16
reviewed Approve suggested edit on Cannot install show because of FQDN
Apr
9
comment How to print process id into statment
You have basic syntax errors for what you want to achieve. See e.g. stackoverflow.com/q/16072351/445621 for an example of command substitution into a shell variable.