34,746 reputation
43898
bio website
location Living in Marseille, France
age 33
visits member for 2 years
seen 18 mins ago

Elected moderator on Unix & Linux. Feel free to @ping me in chat if there's anything I can help you with.

I've been using Linux since the late '90s and have gone through a variety of distributions. At one time or another, I've been a user of Mandrake, SuSe, openSuSe, Fedora, RedHat, Ubuntu, Mint, Arch and for the past few years Linux Mint Debian Edition (which is basically Debian testing but more green).

My Linux expertise, if I can grace it with such a lofty title, is mostly on manipulating text and regular expressions since that represents a large chunk of my daily work.

profile for terdon on Stack Exchange, a network of free, community-driven Q&A sites


Aug
11
revised Increment a date in a file
edited tags
Aug
11
answered Handling comma in string values in a CSV file
Aug
11
comment Handling comma in string values in a CSV file
Clever! However, it will fail for cases where there is a non letter after the comma. For example prabhat, (kumar) or a letter after a non-quoted comma: "prabhat,kumar",A 19,
Aug
11
revised Handling comma in string values in a CSV file
added 12 characters in body; edited tags
Aug
11
comment How do I set my DNS on Ubuntu 14.04?
Hi and welcome to the site We like answers to explain what they do and how they work here. Please don't post one-line code only answers. Also, there's no point in using sudo for the echo, you only need it for the resolvconf. Similarly, there is absolutely no point in using -e and \n. Simple echo adds a newline anyway, what you're doing will print an empty line. If that's what you wanted, then please explain why.
Aug
10
revised Execute root command after a user starts their session
Minor grammar corrections and retag
Aug
10
comment running R on server
Please stop posting duplicate questions. If you have more details to add, edit your original question instead.
Aug
10
revised Where is “showing the output of the 'ls' command vertically” documented?
deleted 1 character in body
Aug
10
comment How to understand the command awk '{for(x=1;$x;++x)print $x}'?
@gurka that's just pseudocode really. I just used it as an example of a conditional loop.
Aug
9
awarded  Enlightened
Aug
8
awarded  Nice Answer
Aug
8
comment Delete everything not matching this pattern 'something.swf' in txt file
@StéphaneChazelas indeed. It assumes each is a separate word.
Aug
8
answered Delete everything not matching this pattern 'something.swf' in txt file
Aug
8
comment Delete everything not matching this pattern 'something.swf' in txt file
@user3922897 If this answer solves your issue please take a minute and click the check mark under the vote count to the left, instead of leaving a thank you comment. This will signify to everyone that your issue's been resolved and is the way that thanks are expressed in the site.
Aug
8
comment find words with all vowels in order from a file
@Scott to each his own then :) I find the < syntax very obtuse and counter intuitive. Pretty much all commands that take a file name as an argument are in the format of command options input_file and that is always the easiest to read to my eyes.
Aug
8
comment find words with all vowels in order from a file
@Scott why? Why not just grep -foo pattern file? Why add an extra character?
Aug
8
comment How to understand the command awk '{for(x=1;$x;++x)print $x}'?
@StéphaneChazelas fair point, answer edited. Thanks.
Aug
8
revised How to understand the command awk '{for(x=1;$x;++x)print $x}'?
added 64 characters in body
Aug
8
answered Get CPU usage for single process
Aug
8
revised Get CPU usage for single process
added 1 character in body