Reputation
1,591
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 10
Newest
 Yearling
Impact
~124k people reached

  • 0 posts edited
  • 0 helpful flags
  • 53 votes cast
Dec
29
comment Access folder created in windows
Or share the folder from mswindows and mount it as cifs on the Linux box.
Nov
6
comment Parallel device redirection fails in FreeRDP
Known issue: github.com/FreeRDP/FreeRDP/issues/2289
Nov
1
comment bash iterate file list, except when empty
@cuonglm: you were first to point out I should be using nullglob (getting the scriptname back was a result of the glob being expanded before the ls command was executed, hence 'ls *.zip' became simply 'ls'). Can you reporst your answer as a coment and I'll tick it off.
Oct
30
comment bash iterate file list, except when empty
Which recurses through subdirectories, and I want to invoke a bash function (not script) for the matches.
Oct
30
comment bash iterate file list, except when empty
@cuolnglm: spookily this results in ls returning the name of the executing script rather than an empty list on this RHEL5 box (bash 3.2.25) if I do FILES=ls *.zip; for fname in "${FILES}"... but it does work as expected with for fname in *.zip ; do....
Oct
8
comment tar with relative paths
No - look at the original question - the last argument is an absolute path.
Aug
28
comment opensshd / openssh - allow EITHER keypair or password
I'd set the file permissions but not the directory - changing this, it now works.
Aug
16
comment Awkward awk exit code
awk -f foo ; eco $? gives 1 as expected.
Aug
14
comment Awkward awk exit code
Yes, bit odd when the man page says....env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]
Aug
14
comment Awkward awk exit code
strange. I can't see anything odd in my aliases or environment which might affect this. Got some oddities in my ld.so.conf since Oracle installed here.
Aug
14
comment Awkward awk exit code
drat, RHEL 6.6 uses awk 3.1.7 which has the same problem :(
Aug
14
comment Awkward awk exit code
Thanks larsks - I'm running awk 3.1.5 on RHEL 5 - I will dig further to see if an upgrade is a viable solution
Aug
14
comment Awkward awk exit code
If you have a look at the examples you'll see that in one case I've embedded the awk in shell script. File extensions are not significant on Unix/Linux shells.
Feb
14
comment Identify machine configuration via code
Agreed /proc/cpuinfo is a good place to look for info about CPUs, but user855 asked about disks - lsblk is a better option for that. Where to look for info? tldp, google, /usr/share/doc
Nov
18
comment Linux cache evictions
thanks, nice article. Any idea what book the chapter comes from? However, although it explains how a particular page is prioritized for eviction, it does not really explain why pages are evicted when there is no apparent demand for memory. What controls the process "to shrink the cache to make available more RAM for other uses"? What is it replacing these with?
Nov
18
comment Linux cache evictions
Thanks Joe, however the first 2 options specifically relate to data which needs to be written back to the filesystem (i.e. the write buffer) not data which has been read and has not been changed (the read buffer). The vfs_cache_pressure controls the preference for evicting file metadata relative to file contents.
Apr
7
comment Linux to linux USB storage?
aware of infiniband - but hardware is only cheap off eBay, requires expensive cabling too and I've only ever seen PCI[e] host adapters. Further, this means running the data on top of TCP/IP with all the complications regarding congestion avoidance. Thanks for the link though.
Apr
7
comment Linux to linux USB storage?
cablewholesale.com/support/technical_articles/… says "will allow for two host devices to be connected directly with a USB 3.0 crossover cable" and it seems that these are available.
Apr
7
comment Linux to linux USB storage?
That was my concern - finding the hardware (since posting I found this: linux-usb.org/gadget/file_storage.html which seems to solve the software problem)
Feb
7
comment Full path name of bash? and base process of Linux?
Why are which and whereis bad? (doh - then I opened the link - ignore me)