49,081 reputation
762131
bio website
location Athens, Greece
age 34
visits member for 2 years, 7 months
seen 6 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


17m
revised How to grep the n-th substring between given delimiters ?
Added missing quotes
48m
comment SED replace after ignoring
The OP stated that the pattern can occur anywhere in the file.
51m
revised SED replace after ignoring
copy edit
52m
comment Trouble with Sed Syntax
Please edit your question and show us exactly what you're doing. What are you running strings on? What are you cating? What are you running the sed on? Is everything on a single line?
57m
revised Getting the pid's of a program line by line
Fixed formatting and corrected perl code to convert consecutive spaces into a single newline, not many
2h
reviewed Edit How can I have `date` output the time from a different timezone?
2h
revised How can I have `date` output the time from a different timezone?
Formatting
4h
comment Pattern matching and removal of that pattern using sed
Please edit your question and show us what your final output is supposed to be. You seem to want to rename your files, what are the new names you want to have?
4h
revised Pattern matching and removal of that pattern using sed
Spelling
5h
comment Getting the pid's of a program line by line
Strictly speaking, tr should be a little bit faster since it's working at the character level and not parsing regular expressions. For example, on a 9MB file, sed took 55 seconds while tr took 19.
5h
answered Getting the pid's of a program line by line
6h
comment How to set path in cronscript
@RajaRassani no. We need to see your php script. This has nothing to do with cron, you have written the script to create the file in the home directory. Just change that.
6h
comment How to set path in cronscript
How is the file created? You probably have a file name in your php script, just change that file name.
6h
revised How to set path in cronscript
retagged and removed salutations. They're not needed here
7h
revised Get last part of string after hyphen
added 6 characters in body
7h
comment How can I select and copy file names in the command line without using the mouse?
By the way, you don't need to right click etc. When you select text it is automatically copied and can be pasted by clicking the middle mouse button.
7h
reviewed Approve How can I tell what version of linux I'm using?
7h
revised Ubuntu (14.10, 14.04) Graphics rendering issues with nvidia 331, 346 when using two screens at once (built in and external)
added 4 characters in body
8h
comment Getting wrong exit code ftp shell script
Please edit your question and 1) use the formatting tools to format your code; 2) Tell us what you are doing and how it is failing 3) tell us your operating system and FTP software; 4) Explain what you were expecting to happen and what actually happened.
8h
revised How to delete some part of fasta file
deleted 38 characters in body