SHARE
TWEET

Untitled

a guest Feb 14th, 2020 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@ent0026 ~]# history | grep fire
  2.   753  06-04 15:09:58 # systemctl stop firewalld.service
  3.   754  06-04 15:10:25 # systemctl start firewalld.service
  4.   755  06-04 15:11:44 # firewall-cmd --add-port=18080/tcp --permanant --zone=public
  5.   756  06-04 15:11:52 # firewall-cmd --add-port=18080/tcp --permenant --zone=public
  6.   757  06-04 15:13:29 # firewall-cmd --add-port=18080/tcp --permanent --zone=public
  7.   758  06-04 15:14:02 # systemctl restart firewalld.service
  8.  1000  02-13 14:32:19 # history | grep firewall
  9.  1001  02-14 09:04:37 # history | grep fire
  10.  
  11. # OH I WONDER WHY IT WAS RUN THREE TIMES.
  12.  
  13. [root@ent0026 ~]# firewall-cmd --add-port=8081/tcp --permenant --zone=public
  14. usage: see firewall-cmd man page
  15. firewall-cmd: error: unrecognized arguments: --permenant
  16. [root@ent0026 ~]# firewall-cmd --add-port=8081/tcp --permanant --zone=public
  17. usage: see firewall-cmd man page
  18. firewall-cmd: error: unrecognized arguments: --permanant
  19. [root@ent0026 ~]# firewall-cmd --add-port=8081/tcp --permanent --zone=public
  20. success
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top