Reputation
3,714
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 12 19
Newest
 Enlightened
Impact
~181k people reached

Feb
4
comment Bash - Check directory for files against list of partial file names
@Arronical: It's possible, but you'll have to remove the path from the string, possible with file=${file##*/}.
Feb
4
comment Print a String on Its Own Place in Unix Shell
@JacobVlijm: I can't imagine processing text files with fonts in bash.
Feb
4
comment Bash - Check directory for files against list of partial file names
@terdon: The main difference is this works :-) The wildcard expansion is done just once, not every time you read a line from the list, which might be faster, too.
Jan
29
comment Bash script to insert letter based files into directories
unix.stackexchange.com/q/258553/13792
Jan
28
comment How to know what options each command has?
Use the manual command to get information: man mount.
Jan
25
comment “$: command not found ” is printed each time at the top of the terminal when I start it. Why is it doing so?
@Raphael: Exactly what the comment before it says.
Dec
9
comment Merge files using a common column
@LilloX: True, thanks. I tried but failed (typo).
Dec
2
comment How to fix this debug message upon Emacs startup?
Search for * in the .emacs.d/init.el file.
Nov
17
comment Perl file doesn't work in the Terminal
use warnings and use strict missing on lines 2 and 3.
Nov
16
comment Bash Script: Batch file rename to remove/change all characters illegal under a windows filesystem
@Ludicael: find runs recursively.
Nov
16
comment Bash Script: Batch file rename to remove/change all characters illegal under a windows filesystem
For safety, you might first run it with echo mv instead of mv to check the output.
Oct
29
comment Complicated text manipulation with awk
This could be better answered at StackOverflow as it's not realted to Ubuntu. Also, are the relevant lines always adjacent?
Oct
20
comment Run command when uptime >= 20 min
Do you need cron?
Oct
19
comment please explain while loop in the PERL code?
@pranav: See the update.
Oct
15
comment Bash get MD5 of online file
@FinlayRoelofs: it runs diff on the pipe output and output of the command in <(...) process substitution, i.e. it compares the MD5 sums of the downloaded file and the local file as requested.
Oct
15
comment Using Expect in Bash to set the inital “postgres” user password?
stackoverflow.com/q/33144870/1030675
Oct
10
comment Why my shell script doesn't open the terminal?
meta.stackexchange.com/q/116101/198057
Oct
7
comment array creation from equation output
@RaymondGhaffarianShirazi: You can shorten the output of bc by declaring scale: bc -l <<< "scale=3; $from + ...
Oct
7
comment array creation from equation output
@terdon: I understood the question differently before you edited it.
Sep
23
comment Linux Alias with multiple and depending commands possible?
You can run them as two sequences: A && B; C && D, or you can even run them in parallel with single &: A && B & C && D.