Quote:
Originally Posted by deeprlyeh
I have recently taken a Linux skills test for my college. I have received my grade and although I received a 97% on said test. There is one issue. The points that I have missed on the test have to do with making alias commands. During the test I directly remember setting this up, but when the teacher used the .bash_history to check my work any and all lines containing the phrase alias are not there. Now I have looked around the internet for some answers and have noticed that there are some issues with history, but nothing specific. Also some other students have no history at all. We are using Fedora Core 2 on a virtual machine install for the class and test.
|
Check env, specifically HISTIGNORE ... maybe the kind folk
at dead rat have decided to drop commands that begin with
alias out of the history.
Another possibility: you have HISTCONTROL=ignorespace or
HISTCONTROL=ignoreboth set, and accidentally typed your alias
definitions with a space as the first character.
Cheers,
Tink