Reputation
995
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 16 34
Impact
~97k people reached

  • 0 posts edited
  • 0 helpful flags
  • 28 votes cast
Jun
21
asked Alternative Info reader
Jun
11
awarded  Popular Question
Apr
10
revised How to test whether Linux is running on a ThinkPad?
edited title
Apr
10
revised How to test whether Linux is running on a ThinkPad?
added 102 characters in body
Apr
10
asked How to test whether Linux is running on a ThinkPad?
Apr
5
accepted unzip file, which directory was created?
Apr
4
comment unzip file, which directory was created?
Evan's solution is more direct: extracts and parses out the dir name.. (although your idea is good, and the basis for Evan's solution.. for this - I am upvoting with thanks..)
Apr
4
comment unzip file, which directory was created?
Thanks! :) I like the -m1 on grep and I did not know about cut printing to the end via -fN- (omitting last field number). You taught me something! For this -> upvote! Have you not used just one tool (e.g. awk) because 1. grep and cut are more widespread than awk and 2. you find what you wrote more "readable"? I'd like to hear your rationale, since one could concoct a one-liner, like so:stackoverflow.com/questions/15776352 PS: you don't need the quotes, no word-splitting in bash at variable assignment time. v=$(echo a b) is the same as v="$(echo a b)"
Apr
3
asked unzip file, which directory was created?
Apr
2
comment Reading Linux distribution name from filesystem or command
Yes! It's a dup!
Apr
2
asked Reading Linux distribution name from filesystem or command
Apr
2
accepted head command options and reading man files
Apr
2
comment head command options and reading man files
Thanks for answering my question, you also taught me some more in the process, I appreciate it.
Apr
2
comment head command options and reading man files
I guess another point to learn is: some options fall out of fashion, get deprecated and are actively hidden/deprecated so that new users (like me) will avoid them. You know what I think would be better than this hiding (not putting in plain sight) approach? Just show the option and say: don't use this - it may not be there in a future version. I would have been less confused. Probably just me though.
Apr
2
comment head command options and reading man files
So the answer to one of the points above is: sometimes look into the info of the command after reading the --help and man..
Apr
2
comment head command options and reading man files
And by doing so, succumb to the hopelessness of the dev/user divide, plunging into a life of pessimism and psycho-active tablets. There must be hope beyond browsing the source!
Apr
2
comment head command options and reading man files
head -2 is synonym to head -n 2, why? Where does it say so in the manual? head -3 is synonym to head -n 3, etc. This being the case but not being explicitly documented has a feel of "black magic"/"secret lore".. ;)
Apr
2
asked head command options and reading man files
Apr
1
accepted ping timeout differences between OS X and Linux/other OSs
Apr
1
comment ping timeout differences between OS X and Linux/other OSs
Precise timeout: so that I know 100 hosts will take at most 100 seconds. Bash command autocompletion: I have my functions all starting with my_function_ so that I can tab-complete them and have the standard options (in this case -c 1) auto-selected. Readable is a matter of personal taste: for functions I define with many options "pre-selected" I find reading the function name more "natural language like" than ping -o1 -o2 -o3 -o4..