Viewing more history

Friday, April 23rd, 2010

The default shell for OS X Server is Bash.  In this video, I show some options for displaying more shell history and how to setup aliases.  To emulate our bash environment in this video, copy/paste the following into ~/.bash_profile

alias ll='ls -alh'

HISTFILESIZE=2000000
HISTSIZE=100000
HISTTIMEFORMAT='%F %T '
HISTIGNORE="&:[ ]*"
export HISTTIMEFORMAT HISTSIZE HISTFILESIZE HISTIGNORE




Leave your Comment

You must be logged in to post a comment.