From owner-freebsd-questions@FreeBSD.ORG Sat Jun 2 17:56:08 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2E1E16A421 for ; Sat, 2 Jun 2007 17:56:08 +0000 (UTC) (envelope-from sacchi@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 41AC913C447 for ; Sat, 2 Jun 2007 17:56:08 +0000 (UTC) (envelope-from sacchi@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so498018uge for ; Sat, 02 Jun 2007 10:56:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MCZKBpI18DKcolQIzYFTzDzRliutNlNWL96+0GqLh4mcgN8ZbjIgpdQgxsESnGkby7Zx76tY/iK1WOoRZ6dbN7ehizt7FhfWO3PM7UJmKXrGAaiZ8PeIMhcyLTlCImXaMmqYR9r63JjnFGu4d9plDSjc//r31JFPFsXBUrn7nVE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=eGEJVFU5SFfERebtvdQ+8wp2JQwOF9zZov0WKQenX/in2yxAyMqepaknJ/fMJ/Bx2KwifTIlG2jG2JTfmEJXnIVm0jCLFydhR6KFMBN0q00uFOM9tWF1kDP+QZbvIGgky7p1KhOIeqC7Wy3kzBB4TKsUhyh7puy53OwOg6dKnfM= Received: by 10.78.132.2 with SMTP id f2mr1592713hud.1180806966652; Sat, 02 Jun 2007 10:56:06 -0700 (PDT) Received: by 10.78.157.3 with HTTP; Sat, 2 Jun 2007 10:56:06 -0700 (PDT) Message-ID: Date: Sat, 2 Jun 2007 23:26:06 +0530 From: sac Sender: sacchi@gmail.com To: VeeJay In-Reply-To: <466199E5.3040005@vindaloo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2cd0a0da0706020638g48b7ac7fn946c6e3caddc0663@mail.gmail.com> <466199E5.3040005@vindaloo.com> X-Google-Sender-Auth: 4cbb09b81b2414cd Cc: FreeBSD-Questions Subject: Re: How to disable command prompt history? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 17:56:08 -0000 On 6/2/07, Christopher Hilton wrote: > VeeJay wrote: > > Hello there > > > > Could someone would like to describe that how we can disable to show last > > executed commands by pressing Up Arrow? > > > > That would depend on which shell you are running. Can you run the > following command and post the results here? > > echo $SHELL > By default most of the shells like bash, zsh, ksh have history option. But you can avoid writing the history of the current session to the history file by unsetting the HISTFILE environment variable. So next time when you login the history of the previous session will not be shown. sac.