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

  • 0 posts edited
  • 6 helpful flags
  • 2,014 votes cast
Jun
22
answered Linux process - messages from kernel
Jun
22
answered Extract just the hostname and port number from tnsnames.ora file
Jun
22
comment Kernel driver for wireless adapter not in use
@TheDerkus - I've never set up or used a dual boot machine, and I only use Windows at work. I would guess that you could mount the Windows disk when you've booted from a USB drive, but I don't know for sure. That's really another question.
Jun
21
answered Kernel driver for wireless adapter not in use
Jun
20
comment How can I shorten strings shown in the i3status bar?
@pleasedeleteme - I think you're out of luck. If you read the i3status man page, the author(s) explicitly write that they didn't want to reimplement job control, so there's no way to do what you ask. Sorry.
Jun
20
answered How can I shorten strings shown in the i3status bar?
Jun
19
revised Sum of alternate values in a column using either sed or nawk
"teh" -> "the"
Jun
19
answered Sum of alternate values in a column using either sed or nawk
Jun
19
answered Unable to use nmap
Jun
19
awarded  Nice Answer
Jun
18
answered How to edit shell prompt to show time?
Jun
18
comment Why does the terminal echo keystrokes when commands are running?
Since the rest of the TTY system seems like a good design, I'm guessing this feature is there on purpose, and that purpose is to allow type-ahead. PDP-11s probably took a lot of time waiting for disk or tape input, so type-ahead would have been a real benefit.
Jun
18
answered Whats going on in this function?
Jun
18
comment Why are file names surrounded wtih “â” sign?
Thanks. I'm not sure that all the steps I took to duplicate are necessary but... 1. Use PuTTY, setting "Translation" to ISO-8859-1. ssh to linux machine. 2. Unset environment variables LC_ALL, TERM, TERMINAL, XTERM_LOCAL. 3. set environment variable LAN=en_US.UTF-8. I finally got UTF-8 left- and right-single quotes, 4. Run dash shell. I got ASCII single-quote bytes for all the other combos of xterm, LC_ALL, LANG, TERM, TERMINAL, etc that I tried. I also got the a-circumflex-file1.txt-a-circumflex as the question has: no visible characters after the a-circumflex as in your example.
Jun
17
comment Why are file names surrounded wtih “â” sign?
How did you get the first rm to generate UTF-8 quotes? I'm having trouble duplicating that. I can't tell if my locale is off, or if I've got xterm doing something right, which is wrong for getting an erroneous condition.
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"