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


Oct
21
revised How to remove Russian and Arabic strings from a text file
added 1 character in body
Oct
21
comment find a specific string pattern from a file in Unix Shell Scripting
In the future, please provide an example of your input file, it lets us give you more specific answers than just a single line. For example, my solutions below might work for other lines of your file but I can't know since you haven't shown it.
Oct
21
answered find a specific string pattern from a file in Unix Shell Scripting
Oct
21
answered How Long do the Contents of the .bash_history File Last?
Oct
21
revised How Long do the Contents of the .bash_history File Last?
The default is 500, not 1000
Oct
21
comment How to add new lines from another file with sed
@TayshaunS next time, please mention the things you tried in your question. It [demonstrates that you’ve taken the time to try to help yourself and saves us from reiterating obvious answers]( demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers). Also when an answer 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 gives the answerer some well earned reputation.
Oct
21
comment Ubuntu apt-get errors: “has no installation candidate” or “Unable to correct problems, you have held broken packages”
Please edit your question so that it describes your actual problem. We need to see the hash sum errors, everything else is basically irrelevant. As it stands, your question suggests that you ran apt-get update with no errors.
Oct
21
revised Count records matching pattern with Awk
copy edit
Oct
21
revised Count records matching pattern with Awk
edited body
Oct
21
revised What does it mean, when lshw says a wireless adapter `UNCLAIMED`, while iwconfig doesn't find it?
edited tags
Oct
21
comment Really Need A Tutorial On How To Install And Chain SOCKS5 On TAILS With ProxyChains
Hi and welcome to the site. Have a look at our help center or take the tour to understand better. We are not a tutorial writing service. We answer specific questions on a topic but won't provide a book on it. I recommend you copy the title of your question into a search engine and have a look at the results. If you have problems following any of the various tutorials you will find this way, come back and ask us about the specific issue you are facing.
Oct
21
comment Detect init system using the shell
@psmears if it also works for some systemd systems, that is indeed better (but not mentioned in this answer). I just tested on a Debian running sysvinit, and three Ubuntus (10.04,12.04 and 14.04, all running upstart) and file /sbin/init returned "executable" on all systems. It also returns the same on a CentOS 5.8, a SLES 10, an Ubuntu 8.04, basically every single system I can get my hands on. So, as far as I can tell it doesn't even work for upstart and Ubuntu.
Oct
20
comment An alias for a command to kill stopped jobs
What makes you think that kill `jobs -p` will kill stopped jobs? That will only kill jobs launched from the particular shell you are running and it will kill all of them, irrespective of if they're active or not. Is that really what you want? What exactly do you mean by "stopped"?
Oct
20
revised An alias for a command to kill stopped jobs
added 9 characters in body
Oct
20
answered Is it possible to contain Linux applications in a single file or folder?
Oct
20
revised Is it possible to contain Linux applications in a single file or folder?
edited tags
Oct
20
revised Group words based on the value of the first column
deleted 538 characters in body
Oct
20
comment Group words based on the value of the first column
@AvinashRaj come on, you know better than that! Don't post updates in comments, edit your question! I thought you only wanted the 1 lines. Now you say you also want the 2? As for the order, yes, the hash will change the order. If that is a problem, you should mention it in your question.
Oct
20
answered Group words based on the value of the first column
Oct
20
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?