Questions tagged [gnu-fileutils]
3 questions
17
votes
9 answers
Binary "tail" a file
I would guess most people on this site are familiar with tail, if not - it provides a "follow" mode that as text is appended to the file tail will dump those characters out to the terminal.
What I am looking for (and possibly to write myself if…

Goyuix
- 23,614
- 14
- 84
- 128
5
votes
4 answers
`ls` exit status
EDIT: nothing to see here!!!
127 return means the command wasn't found - had to give an absolute path to the command for some reason :/ (I didn't delete in case someone else has this problem)
Is there a reference of return statuses for common Linux…

Alex S
- 25,241
- 18
- 52
- 63
2
votes
2 answers
How to load XML file from internet into a string
Currently I have a java application that loads XML from a local file into a string. My code looks like this
private String xmlFile = "D:\\mylocalcomputer\\extract-2339393.xml";
String fileStr = FileUtils.readFileToString(new…

jeph perro
- 6,242
- 26
- 90
- 124