26,990 reputation
63478
bio website
location Athens, Greece
age 34
visits member for 3 years, 1 month
seen 20 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


1d
comment Is there a way to set symbolic links to only executable files in Linux?
@HagenvonEitzen yes, that's why I clarify that this will only search for files that have the executable bit set at the end of my answer.
1d
comment Is there a way to set symbolic links to only executable files in Linux?
@tony_pt you're very welcome. If this answer solved your issue, please take a moment and accept it by clicking on the check mark to the left. That will mark the question as answered and is the way thanks are expressed on the Stack Exchange sites.
2d
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid all of the perl commands I've given you work as expected (I guess) on that input.
2d
answered Is there a way to set symbolic links to only executable files in Linux?
2d
revised Is there a way to set symbolic links to only executable files in Linux?
Removed greetings, they're not needed here :)
2d
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid split the file in two and post the two halves separately. Also try this one, though it assumes that the number of characters in the file is a multiple of 8: tr -d '\n' < file | perl -lpe 's/(.{8})/pack"B*",$1/eg'.
2d
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
@intellikid does this one work better? tr -d '\n' < file | perl -lpe '$_=pack"B*",$_' ? I'm afraid I don't understand the internals of binary to ASCII conversion well enough to know what to expect here. If you edit your question and add a specific example and the output you would like to see, I can try and get it for you.
2d
answered Linux utility to convert a binary sequence stored in a text file into ASCII values
2d
comment Linux utility to convert a binary sequence stored in a text file into ASCII values
Is that the format of your file? You have 6 digits per line and not 8? Should this example be giving valid ASCII characters?
2d
answered How to dump raw binary 'bits' from a file?
2d
revised How to dump raw binary 'bits' from a file?
edited tags
2d
comment How to dump raw binary 'bits' from a file?
On what operating system? It looks like you're running some kind of *nix but which one? Is it Linux? UNIX? OSX? Something else?
2d
answered Maximize window when dragged to top in Mint/Cinnamon
2d
revised How do I signify repetition in a ZMV regex?
added 111 characters in body
Mar
27
reviewed Approve cron job when Ubuntu is suspended
Mar
27
comment How do I signify repetition in a ZMV regex?
@BenSaufley the expert I called on responded. Please feel free to accept his answer since he does provide the way to do it using the tools you wanted.
Mar
27
comment How do I signify repetition in a ZMV regex?
@BenSaufley nah, it's even mentioned in the docs: "The pattern is always treated as an EXTENDED_GLOB pattern." And you're very welcome :)
Mar
27
comment How do I signify repetition in a ZMV regex?
@BenSaufley I figured it out. I should have realized sooner, that's not a regex, it's a glob and globs don't do repetitions. See updated answer.
Mar
27
revised How do I signify repetition in a ZMV regex?
added 1206 characters in body
Mar
27
comment How do I signify repetition in a ZMV regex?
@BenSaufley yeah, me too now. It's strange that none of the obvious solutions work. I asked one of our resident zsh experts on U&L in chat and gave the link to this Q. We'll see if he responds. Seriously though, next time you have a zsh related question, do ask on U&L. We have a couple of zsh fanatics there who'll always answer zsh questions and who are ridiculously knowledgeable about it.