Reputation
1,120
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 19 39
Impact
~123k people reached

  • 0 posts edited
  • 0 helpful flags
  • 28 votes cast
Jan
9
awarded  Popular Question
Nov
7
awarded  Popular Question
Oct
5
awarded  Popular Question
Sep
30
awarded  Popular Question
Aug
28
awarded  Yearling
Aug
24
awarded  Popular Question
Jul
23
awarded  Popular Question
Jun
25
accepted Alternative Info reader
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