Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #55807
| From | Jim Gibson <jimsgibson@gmail.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: How Does One Clear the Terminal Window? |
| Date | 2014-02-03 10:31 -0800 |
| Message-ID | <030220141031278235%jimsgibson@gmail.com> (permalink) |
| References | <310120142054043168%star@sky.net> <chine.bleu-4EDFCD.18195731012014@news.eternal-september.org> <310120142225402925%star@sky.net> |
In article <310120142225402925%star@sky.net>, Davoud <star@sky.net> wrote: > Davoud: > > > > > Not just the visible part that "clear" takes care of, but permanently > > > clear the entire ancient history in the terminal window? > > Siri Cruz: > > Command-K or the unix command clear. > > As I tried to make obvious, the Unix command "clear" does not do what I > want. Command-K does it, thank you. But Command-K is not a Unix > command. Anyone know what the Unix command is? It may depend upon the shell, but tcsh and bash both seem to have the 'history -c' command, which clears the current history list, i.e., the one you get when you type 'history', and the commands you get one-at-a-time when you press up-arrow. The current history list is written out to a file (e.g., ~/.history) when you log out and restored when you next log in. -- Jim Gibson
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How Does One Clear the Terminal Window? Davoud <star@sky.net> - 2014-01-31 20:54 -0500
Re: How Does One Clear the Terminal Window? Siri Cruz <chine.bleu@yahoo.com> - 2014-01-31 18:20 -0800
Re: How Does One Clear the Terminal Window? Martin Frost me at invalid stanford daht edu <nospam@stanford.edu.invalid> - 2014-01-31 18:26 -0800
Re: How Does One Clear the Terminal Window? David Ritz <dritz@mindspring.com> - 2014-01-31 21:40 -0600
Re: How Does One Clear the Terminal Window? Davoud <star@sky.net> - 2014-01-31 23:54 -0500
Re: How Does One Clear the Terminal Window? Barry Margolin <barmar@alum.mit.edu> - 2014-02-01 03:10 -0500
Re: How Does One Clear the Terminal Window? Jolly Roger <jollyroger@pobox.com> - 2014-02-01 15:06 +0000
Re: How Does One Clear the Terminal Window? Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-02-01 10:57 -0500
Re: How Does One Clear the Terminal Window? Barry Margolin <barmar@alum.mit.edu> - 2014-02-01 11:22 -0500
Re: How Does One Clear the Terminal Window? Alan Browne <alan.browne@FreelunchVideotron.ca> - 2014-02-01 11:25 -0500
Re: How Does One Clear the Terminal Window? Jolly Roger <jollyroger@pobox.com> - 2014-02-01 16:47 +0000
Re: How Does One Clear the Terminal Window? Jolly Roger <jollyroger@pobox.com> - 2014-02-01 16:46 +0000
Re: How Does One Clear the Terminal Window? Doug Anderson <ethelthelogremovethis@gmail.com> - 2014-02-01 10:04 -0800
Re: How Does One Clear the Terminal Window? Davoud <star@sky.net> - 2014-01-31 22:25 -0500
Re: How Does One Clear the Terminal Window? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2014-01-31 22:32 -0500
Re: How Does One Clear the Terminal Window? Jolly Roger <jollyroger@pobox.com> - 2014-02-01 04:55 +0000
Re: How Does One Clear the Terminal Window? Jim Gibson <jimsgibson@gmail.com> - 2014-02-03 10:31 -0800
Re: How Does One Clear the Terminal Window? Tim Streater <timstreater@greenbee.net> - 2014-02-01 09:18 +0000
Re: How Does One Clear the Terminal Window? Patty Winter <patty1@wintertime.com> - 2014-02-01 17:55 +0000
Re: How Does One Clear the Terminal Window? Tim Streater <timstreater@greenbee.net> - 2014-02-01 17:59 +0000
Re: How Does One Clear the Terminal Window? Patty Winter <patty1@wintertime.com> - 2014-02-01 18:48 +0000
Re: How Does One Clear the Terminal Window? David Ritz <dritz@mindspring.com> - 2014-02-01 13:24 -0600
csiph-web