Reputation
340
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 6 19
Newest
 Teacher
Impact
~50k people reached

2d
comment Why does history not overwrite but append when histappend is set to off in Bash?
on the Mac it wasn't giving much info at all, and on Ubuntu it is no man page for trap and I suspect man page for bash won't give much info at all like the Mac. Any way, trap -p gave nothing back on the Mac. Hopefully next time you won't ask me what \rm -rf ~ returns (which erases all your files)
2d
comment Why does history not overwrite but append when histappend is set to off in Bash?
I can't find the man page for trap... so I don't feel ok to run it... can you reproduce the issue by doing some changes to trap's value instead of asking me to do this and do that?
Aug
29
comment Why does history not overwrite but append when histappend is set to off in Bash?
when I do echo $PROMPT_COMMAND, it shows update_terminal_cwd; on Mavericks
Aug
29
asked Why does history not overwrite but append when histappend is set to off in Bash?
Aug
3
awarded  Teacher
May
22
comment How to browse a website as if I am in USA?
(by the way, I have to type in a password to log into myserver.com... so no ssh key is set up yet... does that make a difference?)
May
22
comment How to browse a website as if I am in USA?
so you mean on my local machine (my Macbook), I type ssh -D 8080 myusername@myserver.com which will actually log me in at myserver.com and give me a Bash. And then change the Web Proxy HTTP and HTTPS on my Macbook to localhost:8080? Can't make it to work so far... for one thing, I think my dreamhost machine is not running a proxy program that can help forward the traffic yet?
May
22
comment How to browse a website as if I am in USA?
about ssh and tunneling... or can I start some command on the dreamhost shell and make it a proxy for myself?
May
22
asked How to browse a website as if I am in USA?
May
5
awarded  Famous Question
Apr
29
awarded  Famous Question
Apr
23
revised how do you sort du output by size?
added 10 characters in body
Apr
23
comment how do you sort du output by size?
do you mean putting the first set of code into a file called ducks, and then chmod a+x ducks and then use ./ducks to run it? Then I only see the total disk usage, on both Mac OS X and on Ubuntu 2014-10. I also tried putting the ducks() { ...} definition into .bashrc and then use ducks to run it, and the same thing on Mac OS X, only see the grand total
Apr
22
revised how do you sort du output by size?
edited body
Apr
22
revised how do you sort du output by size?
added 28 characters in body
Apr
22
revised how do you sort du output by size?
added 156 characters in body
Apr
22
revised how do you sort du output by size?
deleted 2 characters in body
Apr
22
comment how do you sort du output by size?
I think you meant du -cks -x * ? (with the asterisk)
Apr
22
revised how do you sort du output by size?
added 4 characters in body
Apr
22
revised how do you sort du output by size?
added 443 characters in body