![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| clearing breakpoints using dbx v 7.2.1 | JamesGoh | High Level Programming | 0 | 11-29-2007 09:59 PM |
| clearing history | jagdish.machhi@ | HP-UX | 4 | 08-10-2007 09:50 AM |
| Clearing Swapfiles? | MrToast | UNIX for Dummies Questions & Answers | 3 | 08-16-2004 04:21 PM |
| PERL: clearing the screen | dangral | Shell Programming and Scripting | 7 | 05-28-2003 08:24 AM |
| Clearing of cache memory | kayode | Windows & DOS: Issues & Discussions | 3 | 03-09-2003 08:45 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
clearing history
Is it possible to clear certain specific commands from history. I mean not clearing the entire history (history -c).
You don't want anyone to see a particular command you executed. must not also show you have cleared history. Is it possible ? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Which shell? In bash you can remove individual history entries, ctrl-k kills the current line (though it is saved in the "kill ring").
|
|
#3
|
|||
|
|||
|
try
history -c -> to clear all history and history -d #no to delete particular line |
|||
| Google The UNIX and Linux Forums |