Clear ssh history on Cenos And Ubuntu.

ประเด็นที่เกี่ยวข้องกับการใช้งานและปัญหาซอฟต์แวร์ ของ CentOS
ตอบกลับ
รูปประจำตัวสมาชิก
slwt2002
Administrator
โพสต์: 126
ลงทะเบียนเมื่อ: พุธ 24 มิ.ย. 2015 18:03

Clear ssh history on Cenos And Ubuntu.

โพสต์ โดย slwt2002 »

โค้ด: เลือกทั้งหมด

cat /dev/null > ~/.bash_history && history -c && exit
ไม่มีลายเซ็นต์ ขอเขียนแล้วกัน
ตอบกลับ