Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-24-2012
pandeesh's Avatar
Registered User
 
Join Date: Jul 2011
Posts: 311
Thanks: 75
Thanked 12 Times in 12 Posts
Avoiding the history

In bash shell, how we can avoid the commands getting recorded in history file.
One way i can think of is :

Code:
export HISTSIZE=0

Is there any other way to achieve this?
Thanks
Sponsored Links
    #2  
Old 06-24-2012
Registered User
 
Join Date: Feb 2007
Posts: 85
Thanks: 3
Thanked 16 Times in 16 Posts

Code:
set +o history

The Following User Says Thank You to xbin For This Useful Post:
pandeesh (06-24-2012)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Avoiding 'sh -c' when running ps from CRON cavallino4u Shell Programming and Scripting 8 03-08-2012 01:39 PM
Avoiding the second run of the script messi777 UNIX for Dummies Questions & Answers 4 11-11-2011 05:32 AM
History to Another file [local user history , but root access] linuxadmin UNIX for Advanced & Expert Users 3 08-31-2011 11:13 AM
Installing applications by avoiding GUI akash.mahakode OS X (Apple) 4 01-24-2011 05:55 AM



All times are GMT -4. The time now is 10:23 AM.