Reputation
22,358
Next tag badge:
874/400 score
77/80 answers
Badges
3 51 81
Newest
 Enlightened
Impact
~937k people reached

Jun
23
reviewed Reviewed PuTTY does not connect over SSH; other clients work fine
Jun
23
awarded  Enlightened
Jun
23
awarded  Nice Answer
Jun
23
comment adding text to filename before extension
@SargeBorsch What do you need explained? My answer, the snippet in the question, and Doug's answer are only differ by a few characters, and Doug's answer explains even less than mine so I don't know what it is you want. If you just compare the difference in the two outputs in the question it should be trivially easy to figure out what they do. I can explain why my answer is preferable to Doug's. 1. I use printf with a format string instead of the less portable echo. 2. I use parameter expansion which is more efficient than calling an external binary (basename) for such a simple task.
Jun
21
awarded  Nice Answer
Jun
7
awarded  Guru
Jun
5
comment What are the steps of this command using ; || and &&
@R0tten && and || are left-associative binary operators with equal precedence. The ; is not an operator at all but merely a simple separator, like a newline, and as such has the lowest "precedence". That should be enough to clear up any confusions you have.
Jun
4
comment Find files whose name is 4 characters long
Judging by the example given in the question, OP is looking at file names not contents.
Jun
4
comment Find files whose name is 4 characters long
@joeLovick In *nix platforms a newline is a single linefeed character.
Jun
4
comment Find files whose name is 4 characters long
@ColeJohnson It's not the best tool for the job. grep matches lines of text, but not all filenames are guaranteed to be single lines of text.
Jun
2
comment Need to Split the output in Row & Column
@user43791 You are right. I discovered the same and deleted my prior erroneous comment but it turns out you saw it anyways. After reviewing the awk grammar, I learned that the print statements do accept parentheses after all so carry on as you were.
Jun
2
comment Need to Split the output in Row & Column
@NitinKapoor I added tabs to the output. Is that what you meant by rows and columns?
Jun
2
revised Need to Split the output in Row & Column
added 21 characters in body
Jun
2
comment Need to Split the output in Row & Column
@NitinKapoor Look back at your question - I think you screwed up the formatting.
Jun
2
reviewed Reject Need to Split the output in Row & Column
Jun
2
revised Need to Split the output in Row & Column
Removed confusing extraneous decorations in desired output
Jun
2
revised Need to Split the output in Row & Column
added 104 characters in body
Jun
2
revised Need to Split the output in Row & Column
code formatting
Jun
2
answered Need to Split the output in Row & Column
Jun
2
comment Stopping find command after finding files in one directory
See here for other ideas: unix.stackexchange.com/q/62880/9537