39,406 reputation
446112
bio website
location Living in Marseille, France
age 34
visits member for 2 years, 2 months
seen 6 hours 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


2d
comment Group words based on the value of the first column
Could you clarify? Why would the expected output be 1 foo, foobar? What happened to 2 bar? Don't you want something like 1 foo, foobar\n 2 bar?
2d
revised How to disable SSLv3 in Apache?
added 48 characters in body
2d
comment How can a script run many processes at the same time?
@Gilles exactly, which is why I consider it a very bad idea to post that loop as an answer since we usually don't know what the OP will have in file.
Oct
19
awarded  Notable Question
Oct
17
revised How can a script run many processes at the same time?
added 234 characters in body
Oct
17
answered How can a script run many processes at the same time?
Oct
17
comment How can a script run many processes at the same time?
@MarkPlotnick thanks, I fixed it :). MJA, I suggest you also use the while read i; do ...; < list.txt approach. To make them run at once, just add & to the end of the mkdir command: mkdir $i &
Oct
17
revised Create a list of directories
Used the far safer while loop, and removed a useless use of cat
Oct
17
revised Files are being uploaded with full write permissions
edited tags
Oct
17
comment How can a script run many processes at the same time?
Seriously? We have an answer suggesting for i in $(cat file)? Where? Please let me know and I'll fix it.
Oct
17
comment Optional arguments after or before the mandatory arguments?
@Cold it all depends on the code you are using. What language is this in, bash or another shell? How are you reading the arguments?
Oct
17
comment How can a bash script write its standard output from within a pipeline?
@starfry I may be missing something but the answers of the duplicate are basically the same as the ones you have here. Namely, tee and creating a separate file descriptor. The other question is asking the same thing also, how to get the output of a part of a pipeline. I don't see the difference you refer to but that may just be my own ignorance. If you still feel that it's not a dupe, please post a question on Unix & Linux Meta where it can be discussed.
Oct
17
comment How can I partition a set of words given pairs that must end up together?
I guess you need this done recursively, right? I mean, D and E will only be in the first row after having been added by processing the previous rows. What if you have E G further down? How should that be dealt with? Also, which is it, space or comma?
Oct
17
revised How can I partition a set of words given pairs that must end up together?
edited title; edited tags
Oct
17
comment How to minimize apt source.list
Ah, maybe. I understood that the OP wants to remove anything that's not needed. I left a comment, let's see if they answer. Still, isn't combining sid with wheezy like that a bad idea?
Oct
17
comment How to minimize apt source.list
What exactly do you mean by "improve"? Do you want to remove unnecessary repositories or do you want the exact same list of repositories written in a more condensed way? There are things you can remove here, but if you want the same repos, this is as good as it gets as @Braiam pointed out.
Oct
17
comment How to update specific row and column using awk?
@Barmar no! This type of question is much better suited here than on SO. Please don't suggest that type of migration. While it would be on topic there as well, SO is primarily about programming while we are primarily about *nix and *nix tools. This is something that can be solved using those tools so is completely on topic here.
Oct
17
reviewed Leave Open Ubuntu 13.10 has suddenly failed to boot!
Oct
17
comment How to minimize apt source.list
You might want to explain that the OP can safely remove the src lines since those are only useful to install sources. Also, could you comment on the presence of a sid repository while the rest are wheezy? That sounds like a recipe for disaster.
Oct
17
comment How do I look up exit codes for applications?
If one of these answers solves your issue, please take a minute and click the check mark under the vote count to the left, this will signify to everyone that your issue's been resolved and is the way that thanks are expressed in the site.