Reputation
2,119
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
7 16
Newest
 Good Answer
Impact
~223k people reached

Jul
31
awarded  Good Answer
Jul
4
awarded  Necromancer
Jun
16
answered How do I remove lines of a file which contain a specific string?
Jun
16
comment How do I remove lines of a file which contain a specific string?
You could use grep -Fv adf.ly input.txt > output.txt for better performance on very large files.
May
16
comment How to delete all files except one named file from a specific folder
You can prevent find from being recursive with a -maxdepth 1
May
10
comment for loop syntax in shell script
@heemayl -- Not trolling, I just had to double-check the seq syntax before I included it
May
10
revised for loop syntax in shell script
added 152 characters in body
May
10
revised for loop syntax in shell script
added 3 characters in body
May
10
answered for loop syntax in shell script
May
1
comment Making reverse-incremental-search in terminal easier using comments
I understand that you're trying to make things easier, but the concept of comments is pretty easy to understand ('the terminal ignores anything to the right of a hash symbol' or something along those lines), and using 'hashtag' seems like it would lead to more confusion if anything
Mar
17
comment copy to clipboard current path from console with no mouse
@micgeronimo you could use one of either xclip -o | xargs cd or cd $(xclip -o)
Mar
15
comment How can I add a backslash before all spaces of a file?
Bash's printf builtin has functionality similar to quotemeta -- printf '%q\n' "$line" should do it IIRC.
Dec
12
comment How to delete part of a name of 195 diffrent files in one folder?
I think something like rename 's/\[[^]]\]//' * would be slightly faster (but not to any extent noticeable with just 200 files). Also, it shpuld probably be noted that the -n flag tells rename to just report what it will do; to actually rename the files, you need to get rid of the -n.
Dec
5
awarded  Yearling
Nov
27
comment How to (using GUI) empty a flash drive's trash without emptying the computer's?
Children are able to pick things up pretty quickly, and housewives and grandmas are smarter than you give them credit for. I think this is about as simple as this task can be made, without changing file manager things drastically.
Nov
16
comment Which is best audio video converter on Linux?
For ffmpeg, at least, there is a pretty comprehensive compilation guide on the ffmpeg wiki.
Nov
14
awarded  Nice Answer
Nov
12
comment Unable to edit using vi
By default, Ubuntu only has vim-tiny (a stripped-down version of Vim that doesn't have any of the advanced features that make Vim and iMproved Vi), which IIRC doesn't come with vimtutor. You need to do sudo apt-get install vim-gtk in order to get access to the tutor.
Nov
9
comment Convert all .ape files to .flac in different subfolders
@tigerjack89 with find .. -exec, {} expands to the /path/to/file. So, let's say you have a file at ~/file/path/example.ape: the command in this answer would expand to avconv -i ~/file/path/example.ape ~/file/path/example.ape.flac. Here's the relevant documentation.
Nov
9
comment Convert all .ape files to .flac in different subfolders
I don't think there's any need for the * at the end of path/to-MainDirectory/*, but otherwise this is the correct answer.