From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 13:00:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C7E1C5FB for ; Tue, 8 Jan 2013 13:00:31 +0000 (UTC) (envelope-from dyioulos@onpointfc.com) Received: from mail2.onpointfc.com (mail2.onpointfc.com [65.105.102.163]) by mx1.freebsd.org (Postfix) with ESMTP id 849E2F36 for ; Tue, 8 Jan 2013 13:00:31 +0000 (UTC) Received: from mail2.onpointfc.com (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 1855133183DD_EC1869B for ; Tue, 8 Jan 2013 13:00:25 +0000 (GMT) Received: from plymouth.onpointfc.com (mail1.onpointfc.com [192.168.1.2]) by mail2.onpointfc.com (Sophos Email Appliance) with ESMTP id C994133183AF_EC1868F for ; Tue, 8 Jan 2013 13:00:24 +0000 (GMT) Received: from mepis1.headquarters.firstbhph.com (mepis1.onpointfc.com [192.168.100.52]) by plymouth.onpointfc.com (8.14.5/8.14.5) with ESMTP id r08Cxpqm011497 for ; Tue, 8 Jan 2013 07:59:57 -0500 From: Dimitri Yioulos To: freebsd-questions@freebsd.org Subject: Re: Bash history empty on login Date: Tue, 8 Jan 2013 07:59:51 -0500 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201301080759.52247.dyioulos@onpointfc.com> X-Synonym: Copied by Synonym (http://www.modulo.ro/synonym) to: archive@onpointfc.com X-First1-MailScanner-Information: Please contact Onpoint Financial Corporation for more information X-First1-MailScanner-ID: r08Cxpqm011497 X-First1-MailScanner: Found to be clean X-First1-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 1) X-MailScanner-From: dyioulos@onpointfc.com X-MailScanner-To: archive@onpointfc.com, freebsd-questions@freebsd.org X-First1-MailScanner-Watermark: 1358254797.42124@jlLCRKab7pCMXyHO5FD1gA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 13:00:31 -0000 On Monday 07 January 2013 7:01:09 pm Andre Goree wrote: > I'm not sure what's going on, as I've never had an issue > like this in my years of using FreeBSD nor Linux. Each > time I login, my history file is empty! I'm not sure > what could be causing this, but below [1] is my .bashrc. > I had ". ~/.bashrc" in ~/.profile, but I removed it while > I'm trying to troubleshoot this issue. Does anyone have > an idea or a direction to point me in? Thanks in > advance. > > [1]# > # ~/.bashrc > # > > # If not running interactively, don't do anything > [[ $- != *i* ]] && return > > #PS1='[\u@\h \W]\$ ' > > alias ls='ls -G' > alias ll='ls -lAhp' > alias umount='sudo umount' > alias grep='grep --color' > alias nmap='sudo nmap' > alias updatedb='sudo updatedb' > alias pkg_add='sudo pkg_add' > alias pkg_delete='sudo pkg_delete' > alias top='top -aPStzj -s 1' > alias portinstall='sudo portinstall' > alias updatedb='sudo updatedb' > > PS1='\[\e[1;37m\][\u@\h \W]\$\[\e[0m\] ' > > export PATH=$PATH:/home/agoree/bin:/usr/local/kde4/bin/ > > #BASH history > export HISTTIMEFORMAT="%h/%d - %H:%M:%S " > export HISTFILESIZE=100000 > #export VBOX_USB=usbfs > > -- Hope I'm not offending you if the following are things you've tried as a matter-of-course: After booting up, is history started, or do you have to do that manually? Have you run "set -o" to see if history is enabled? If it isn't, then "set -o history". Is a "clear" command being issued from anywhere upon logout or reboot? Just some thoughts. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.