From owner-freebsd-questions@FreeBSD.ORG Fri May 16 04:26:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60507106564A for ; Fri, 16 May 2008 04:26:54 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id D400F8FC14 for ; Fri, 16 May 2008 04:26:53 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so933748rvf.43 for ; Thu, 15 May 2008 21:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=oPK6NzX6r0VnrwSx+B6fUiVMd1SdMKlsNuYM0jhePDs=; b=rG4O8WdB1qBQzAe25eikoEYsKHdbTpMYNMYdKM1k2MABr/MQHpP+8602wEcSibaEiZmYs8boawZ7LYOrQh4qHAe3fTV6BSQ3W+FoyPCqLH3XpYilCVRMTYkZwfOB4JMME8QCwcTHMOirXKUlmraE3ROixPPTjhuAwnv2+/+n1bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=q2u8djE4LfjzGhfenLeq/aNDT36OVfQpua7CydbmhzmiJv2HKNvDck2QUqiOtrZS7/Tq3xkPRUHsmmnZbdGm37Xj6yI4LgFyySW4T7ufDcd+poRv3rKe7wOU2eG4FaMlMcO82tLlX+Fx81kK6/biPHfK+sLWRBbYi/S74S67M14= Received: by 10.140.126.14 with SMTP id y14mr1539442rvc.96.1210912008079; Thu, 15 May 2008 21:26:48 -0700 (PDT) Received: by 10.140.193.2 with HTTP; Thu, 15 May 2008 21:26:48 -0700 (PDT) Message-ID: Date: Fri, 16 May 2008 01:26:48 -0300 From: Agus To: "Pietro Cerutti" In-Reply-To: <482CB067.8050704@FreeBSD.org> MIME-Version: 1.0 References: <482CB067.8050704@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: User Questions Subject: Re: How to delete One line on tcsh 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: Fri, 16 May 2008 04:26:54 -0000 2008/5/15 Pietro Cerutti : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > > Agus wrote: > | Hi guys, > | > | I've been trying to delete one line from my user tcsh history cause i > made a > | su and it seems didnt hit enter very well so i typed the password on the > | console...Now anyone that can look my history will see my pass... > | > | I tried to edit and delete a few lines but it all comes again....tried > | history clear but when i login again it apperas all again..hehe... > | Its so secure and cool tcsh taht i have no idea how to do it...been a > bash > | user... > > You can clear your history (the whole history will be lost!!) by > | history -c > > No clue whether you can remove a single line.. > > | Cheers and thanks, > | Agustin > > - -- > Pietro Cerutti > gahr@FreeBSD.org > > PGP Public Key: > http://gahr.ch/pgp > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEAREKAAYFAkgssGYACgkQwMJqmJVx944nJwCeNA0pEAxNW2MAa+p09T61ZIuy > LnEAoJSvP23/4hTq3iDW0xf/tGmfNfTS > =xmcm > -----END PGP SIGNATURE----- > Cool, thanks guys.....I used the history command and worked; weird, i had tried that...maybe i used it in another place... Thanks guys. Cheers, Agustin