I have never in fact used source before. I had to drop to the man page to find out what it was supposed to do. Interesting, I don't think I would ever use this.
Watch out with source - basically it does the same as sh: execute a file that doesn't necessarily have the execute flag. I'm saying this because I killed my LFS system after running 'source .bash_history'. i used tab completion and had my .bash_profile in another dir than I thought. And I was root (though that wasn't a mistake).
It rendered my system unusable...
Sam
I have never in fact used source before. I had to drop to the man page to find out what it was supposed to do. Interesting, I don't think I would ever use this.
Hahahahahahahahahahahaha Thats awesome. Not that it happened to you, but that it happened in general.
I'd hate to think of what would happen if I ran my bash_history file....
Bookmarks