586 reputation
148
bio website
location Bicester, United Kingdom
age
visits member for 4 years
seen Apr 14 at 19:39

Jan
7
awarded  Notable Question
May
15
awarded  Popular Question
Aug
28
awarded  Yearling
Jan
10
awarded  Announcer
Dec
31
awarded  Disciplined
Dec
8
comment How can I “cat” a file and remove commented lines?
Sure thing. In fact, I think cat works fine in these examples if you consider it as a proxy for the more generic "anything generating text on STDOUT". Unix pipes are the best thing since sliced bread, imho. :)
Dec
8
answered How can I “cat” a file and remove commented lines?
Dec
8
comment How can I “cat” a file and remove commented lines?
+1 for perl, although the cat and the -l are both redundant, so a simpler invocation is perl -ne 'print unless /^;/' data.txt
Dec
8
answered Why does my one instance of VLC have many processes?
Dec
8
comment How to quickly store and access often used commands?
Bashtags! Genius. :-)
Dec
8
comment How to quickly store and access often used commands?
+1 for this, I do the same although I just have them bound to the Up Arrow and Down Arrow keys (no CTRL modifier), which works for me. If you want to do likewise the lines you need are "\e[B": history-search-forward and "\e[A": history-search-backward
Aug
29
awarded  Yearling
Apr
5
awarded  Student
Apr
5
comment How do I get which to show aliases?
Thanks, hadn't come across type before. There's a lot of muscle memory for me to overcome in order to wean off which though. :)
Apr
5
asked How do I get which to show aliases?
Feb
8
awarded  Populist
Jan
13
awarded  Good Answer
Nov
30
awarded  Nice Answer
Nov
30
awarded  Supporter
Nov
30
comment Why do we use “./” to execute a file?
/ is the path separator in Linux, so you use it to separate the directory (.) from the filename (a.out). Without it you have .a.out which is a valid filename in its own right. (Try touch .a.out; ls -lA to see this.)