Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2008 23:51:35 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        User Questions <freebsd-questions@freebsd.org>
Cc:        Agus <agus.262@gmail.com>
Subject:   Re: How to delete One line on tcsh history....??
Message-ID:  <482CB067.8050704@FreeBSD.org>
In-Reply-To: <fda61bb50805151407l6b787100m2ee135b4acf32828@mail.gmail.com>
References:  <fda61bb50805151407l6b787100m2ee135b4acf32828@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482CB067.8050704>