Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 117: Line 117:  
##<code>rm -rf ~/.ssh</code>
 
##<code>rm -rf ~/.ssh</code>
 
# Delete shell history
 
# Delete shell history
## <code> shred -u ~/.*history</code>
+
<pre>shred -u ~/.*history
##<code>sudo find /root/.*history /home/*/.*history -exec rm -f {} \;</code>
+
sudo find /root/.*history /home/*/.*history -exec rm -f {} \;
 +
history -w
 +
history -c
 +
</pre>
    
== Create the AMI ==
 
== Create the AMI ==

Navigation menu