Reputation
21,924
Next tag badge:
326/400 score
94/80 answers
Badges
2 26 79
Newest
 Custodian
Impact
~1.8m people reached

  • 0 posts edited
  • 6 helpful flags
  • 2,015 votes cast
Jun
17
answered Why are file names surrounded wtih “â” sign?
Jun
17
awarded  Nice Question
Jun
10
comment What is the technical term for command line application environment programs?
@user216125 - a lex/yacc interpreter is overkill for simple situations, but the dividing line between simple and complex sneaks up on you. It's usually pretty easy to get lex to recognize new tokens, and yacc to incorporate them in a parse tree. It's easy at first to do your own token recognition, and maybe recursive descent parsing, but soon enough, it's hard to add that new command. yacc gives you a grammar, with which you can recognize more kinds of input. A bash "while read" loop is fairly inflexible as far as number of tokens in a command, and recognizing tokens once you've got them.
Jun
8
answered What is the technical term for command line application environment programs?
Jun
5
comment Php shell_exec() : for non root user, how to access root command
You'll have to give use some more information. At a minimum: (1) the code that generates the .tar, which I assume is just a few lines. (2) How you know the shell_exec() call fails - what error messages, etc. (3) What appears in /var/log/httpd/error_log, or where ever CentOS keeps it's apache error log files. (4) The permissions and ownership of "my shell script"
Jun
3
comment Unable to run an executable built with NASM
Just so I understand, you're assembling x86 (i386) 32-bit code on a 64-bit installation?
Jun
3
answered Getting Group Names for List of Users
Jun
3
comment How are file types known if not from file suffix?
Note that even for regular files (not device files, unix domain sockets, named pipes, etc) "file type" can mean two different things: (1) A particular file format (".docx", XML, MS-DOS text format, RTF, fixed-length records, the list could be very long) or (2) A file that a particular app knows how to deal with (".xlsx" or ".doc" or whatever, there's overlap with the format type). It's worth keeping that distinction in mind when talking about "file type".
Jun
3
revised get value after specific word
added 144 characters in body
Jun
2
comment Spelling mistakes in the file?
Are you sir tin you went to automatically correct all miss spilled words? You will miss out on a lot of correctly spelled words that are in the wrong place, or you'll have the auto-correct put correctly spelled wrong words in place of incorrectly-spelled words. It's a hard task.
Jun
2
answered get value after specific word
Jun
1
awarded  Enlightened
Jun
1
awarded  Nice Answer
May
29
comment What does an @ symbol denotes in the beginning of a unix domain socket path in Linux?
For what it's worth, the more modern ss program also shows socket endpoints like "@/tmp/.X11-unix/X0"
May
23
answered Split shell horizontally to show ls -al and pwd
May
22
awarded  Nice Answer
May
22
revised Why is sudo slow when I mistype my password?
Remove a stray word.
May
22
comment Why is sudo slow when I mistype my password?
@jordanm - thank you! That's exactly what I'm looking for to penalize the Chinese ssh password guessers.
May
22
answered Why is sudo slow when I mistype my password?
May
22
comment How can I end a here-document that starts with <<\\$fff?
@G-Man - much obliged for the thorough and well-thought-out answer to what I had assumed was a rhetorical question. Sometimes rhetorical questions have answers, I reckon.