Bash: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
# delete line
# delete line
history -d 2013
history -d 2013
history -w
for i in {1..50};do \
history -d 2013;done;\
history -w
history -w
</source>
</source>

Revision as of 13:28, 28 May 2019

sudo systemctl stop firewalld
sudo systemctl stop ipchains
sudo systemctl stop iptables

sudo systemctl restart jira
sudo systemctl restart atlbitbucket
# clear all
history -c
history -w

# delete line
history -d 2013
history -w

for i in {1..50};do \
history -d 2013;done;\
history -w

References