29,263 reputation
32164
bio website
location European Union
age
visits member for 8 months
seen 3 hours ago
stats profile views 890

7h
revised Walking through files in directory randomly
fix some of the issues I talked about in comments.
8h
answered Where do I find a list of terminal key codes to remap shortcuts in bash?
8h
revised Linux listing files between two date without touch command
added 276 characters in body
11h
comment Variable scope in multiple pipes
Yes -t is GNU specific and only makes sense if you're using + instead of ;. So -exec mv -t . {} + (efficient but GNU specific) or -exec mv {} . \; (inefficient but portable). (or -exec sh -c 'exec mv "$@" .' sh {} +: portable, efficient but long-winded).
11h
answered Linux listing files between two date without touch command
12h
answered UUOC with ssh file transfer
12h
comment | Grep, Find which file the strings came from
(assuming there's no file named foo: message for instance)
12h
comment | Grep, Find which file the strings came from
What implementation doesn't support --? It would not be POSIX, and I seriously doubt any pre-POSIX implementation would support binary file.
12h
answered | Grep, Find which file the strings came from
13h
comment | Grep, Find which file the strings came from
Note that you need an implementation of grep like GNU grep that supports reading binary files.
13h
revised | Grep, Find which file the strings came from
You need `--` with GNU `grep`.
13h
revised | Grep, Find which file the strings came from
Note about --print-file-name being GNU specific, add missing --
16h
revised Walking through files in directory randomly
added 4 characters in body
16h
comment Search class names in jars
The awk one supports all characters but backslash (which is why I use ENVIRON in the solution I gave). Note that it's jar paths we're talking of here, not class paths.
1d
revised Walking through files in directory randomly
added 72 characters in body
1d
revised Walking through files in directory randomly
added 479 characters in body
1d
answered Walking through files in directory randomly
1d
comment “No such file or directory” on an executable, yet file exists and ldd reports all libraries present
What about LD_DEBUG=all /lib/ld-lsb.so.3 ./zls?
1d
answered find command: how to ignore pathname?
1d
revised Wildcards in aptitude
`^mypackage*` would be like `^mypackag`