761 reputation
210
bio website
location
age
visits member for 1 year, 8 months
seen Apr 12 at 1:56

name should be lk but the minimum length is 3


Aug
30
comment Find and remove many files by specific content
consider if you really need to search dir.*/*, maybe just . would be appropriate? find will (by default) act recursively
Aug
30
comment Is it *really* possible to directly steal a private key if it uses no passphrase?
+1 was about to post a similar answer
Aug
27
comment What is the definition of a regular expression?
I don't know if there is a single definition for "regular expressions" as the term is commonly used. There are different syntax specifications, such as POSIX regular expressions or Perl regular expressions, which include other "features" such as backreferences or lookaheads. These may no longer be regular expressions in the strictest sense (in the context of regular formal languages) but are still referred to as such.
Aug
24
comment Finding all “Non-Binary” files
You could use the file utility somewhere in your script/pipeline to identify whether the file is data or text
Aug
22
comment How to cache all internet downloads
This sounds very difficult or impossible do to for "all internet downloads", although it should be possible if you limit your scope (ie. only http requests)
Aug
21
comment Accessing ssh proxy from another host
I thought this wouldn't be the issue because I misread the man page. Does it work if you use -D '*:9999' instead of -D 9999?
Aug
21
comment Accessing ssh proxy from another host
Are you able to otherwise access the host from the guest? ie. ping or ssh
Aug
20
comment `tail -f` until text is seen
This might not work if Finished: SUCCESS is the last line of output
Aug
20
comment Display time stamp in dd/mm/yyyy_hh:mm:ss:ms in Unix or Linux
Is there any reason you are using echo? It seems redundant, you can just use date directly
Aug
20
comment Redirect stdout and stderr, with timestamps on stderr only
Right, but since they are separate streams I'm not sure if there is any way to prevent that
Aug
17
comment Why can't I navigate into my Documents directory?
Wild guess: perhaps you are already in your Desktop directory? cd will not produce any output if successful
Aug
17
comment Executing zsh rehash after build
I may be wrong because I've never used zsh before today, but calling rehash from a function does seem to work for me.
Aug
16
comment Best compression of similar files?
Right, you be sure to use a format that archives and then compresses, instead of one (like .zip) which compresses each file individually and then archives them
Aug
16
comment How to move file from one folder to another in shell script by changing the permission
It's not clear to me what to you want to do. Do you want to type mv file _name.dat /tmp and have it execute mv "file _name.dat" /tmp instead?
Aug
13
comment Why can't tr read from /dev/urandom on OSX?
I believe locate doesn't directly search your filesystem, but rather looks up your query using a pre-built database. This database is most likely configured to ignore /dev/ and other 'special' filesystems.