1
vote
0answers
33 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ...
1
vote
1answer
150 views

Terminal history in auto-completion

I am running Ubuntu 12.04 LTS and for some reason there is no terminal history (hitting the up arrow for the previous command), nor is there auto-completion (hitting the tab key). These wonderful ...
6
votes
4answers
1k views

BASH history truncated to 500 lines on each login

For some reason, I cannot get my system to keep my BASH history after a reboot. Here are the relevant sections of my ~/.bashrc: shopt -s histappend PROMPT_COMMAND='history -a; updateWindowTitle' ...
1
vote
1answer
220 views

History and completion not working in coffeescript repl on linux mint

I have recently switched from Ubuntu 12.04 to Linux Mint 14. One thing that is mysteriously not working is autocompletion (tab) and history (uparrow) in coffeescript repl (coffee command). Instead of ...
1
vote
3answers
1k views

How can I see more output lines in terminal?

If I give a command that has a lot of output lines in terminal, about 400, I can only see the last ~200 if I scroll up to the top. How can I go further up and see more output lines? I don't want to ...
0
votes
1answer
457 views

How to make bash remember history of previous sessions?

I have MacOSX but this should be *NIX-generic. In my computer at work, my bash shell remembers history from previous sessions, even if I just opened a new terminal. In my computer at home, this ...
10
votes
2answers
2k views

Execute a terminal command without saving it to .bash_history on OS X?

This site says that on Linux you can add a space before a terminal command to keep it out of .bash_history. This does not seem to work for Mac OS X. Does anyone know of a way to execute a single ...
6
votes
2answers
1k views

zsh, up arrow only repeats unique commands?

I'm looking for a setting that will make it so that when i hit the up arrow, zsh shows commands i have recently edited. The catch is, i only want unique commands. Currently, if i type echo "hello ...
2
votes
1answer
787 views

How to get down-arrow history browsing in bash in Mac OS X Terminal?

On almost all modern command-line environments I've used, you can hit up arrow to go back a few commands in your history and re-run an earlier command. But on some command-line environments I've ...
7
votes
1answer
584 views

bash: per-command history. How does it work?

OK. I have an old G5 running Leopard and a Dell running Ubuntu 10.04 at home and a MacPro also running Leopard at work. I use Terminal.app/bash a lot. On my home G5 it exhibits a nice feature: using ...
9
votes
2answers
22k views

How can I check the user command history in Unix?

I know the 'history' command give me a list of the commands I have typed into the Unix terminal. How do I see the command history for all of the users currently logged onto the system?