Reputation
2,416
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
5 16
Impact
~153k people reached

  • 0 posts edited
  • 0 helpful flags
  • 51 votes cast
Jun
19
awarded  Popular Question
Jun
17
answered How to quickly add some space in the terminal?
Jun
11
comment Is 'cat' a shell built-in or an external program?
Good answer. One addition: There are two versions of echo for historical reasons. It started out as an external command, then was added as a built-in. Early versions of the Bourne shell (/bin/sh) did not have it. /bin/echo was kept on for compatibility, since all sorts of things depended on it. (The same thing happened with test.)
Jun
8
revised How to produce a CR/LF in linux text docs?
added 434 characters in body
Jun
8
comment How to recognize which ASCII character in hex is this?
You mean \177 (decimal 127). \777 is a lot more than the maximum possible byte value.
Jun
8
answered How to produce a CR/LF in linux text docs?
Jun
4
answered ls -e option not available in linux
Jun
3
comment How to change bash prompt string in current bash session?
Let's put it a different way: Martin, the OP for this question, can get absolutely no help by reading the answers to the "already answered" question.
Jun
3
comment How to change bash prompt string in current bash session?
PS Right, vote to reopen. Thanks. I forgot I'm under 3000 on this site.
Jun
3
comment How to change bash prompt string in current bash session?
Can I try here first? In the other question, the user was confused about how changing the hostname works (the persistence of PS1 contributed to the confusion, but that's the extent of the similarity). Note that that user tried rebooting as a way to solve their problem, and eventually self-answered by figuring out how to set /etc/hostname properly, and rebooting. This question is about updating the prompt in a live bash session. And it has an answer (mine) that does that.
Jun
3
comment How to browse a website as if I am in USA?
@Lambert, you should edit your answer to include the information in the last comment. Also I'd mention that on a hosted account with ssh access (such as the OP has), changing /etc/ssh/sshd_config is not an option.
Jun
3
comment How to change bash prompt string in current bash session?
@Gilles, is there a process for re-opening a question marked as duplicate? This one is superior to the other in many ways, IMHO. (The OP is not confused about the problem, and now there's actually an answer to what the question asks.)
Jun
3
comment How to change bash prompt string in current bash session?
Why was this question marked as a duplicate? The questions look similar, but (a) the author's own answer in the other question is about making the hostname change permanent, and (b) there is no solution there for the problem that Martin asked about. For the second time: Read the question before you call it a duplicate!
Jun
2
comment In a Makefile, how can I begin processing a file before it has finished building?
It wasn't clear that they need to start early too, is all. Extra tee's could be used to redirect to other streams (think /dev/stderr), but I couldn't say exactly how OTOMH.
Jun
2
comment How to change bash prompt string in current bash session?
What system are you on? This doesn't work on OS X.
Jun
2
revised Why does my “ls -a-l /home” not work?
edited body
Jun
2
comment In a Makefile, how can I begin processing a file before it has finished building?
Well yeah, you only specified wanting to start early with one consumer. You could pipe it through several iterations of tee, I suppose. Is data the only input for the other processes?
Jun
2
comment How to change bash prompt string in current bash session?
On OS X at least it's not during parsing PS1, but during bash start-up. That's why re-exporting PS1 doesn't change the value of \h.
Jun
2
revised In a Makefile, how can I begin processing a file before it has finished building?
added 36 characters in body
Jun
2
answered In a Makefile, how can I begin processing a file before it has finished building?