SysAdmin

Execute command without logging into history in RHEL

JJ
Jobin Joseph · Founder and CEO
·Published 16 October 2013·1 min read

history -d $((HISTCMD-1)) && <Enter your command>

Jobin Joseph
Jobin Joseph, Founder and CEO
5x AWS Certified, ISO 27001:2022 Lead Implementer, 17+ years building cloud infrastructure for regulated industries.
About Jobin →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →