Score:0

Linux centos firewall commands not found

me flag
firewalld-cmd--add-service=http--zone=public--permanent
firewalld-cmd--add-port=80/tcp--zone=public--permanent
firewalld-cmd--reload```

lamps: line 16: firewalld-cmd--add-service=mysql--zone=public--permanent: command not found
lamps: line 17: firewalld-cmd--add-service=http--zone=public--permanent: command not found
lamps: line 18: firewalld-cmd--add-port=80/tcp--zone=public--permanent: No such file or directory
lamps: line 19: firewalld-cmd--reload: command not found

ive tried moving all the format of the text around more - less - spaces non spaces it all just comes out with those errors 
Ive tried spacing out firewalld-cmd --
and that has just achieved the same result
Score:0
us flag

Did you try firewall-cmd instead?

Also, there should be a space in between the program and any flags. Your commands are just incorrect/malformed.

Dreadpirate avatar
ps flag
sudo firewall-cmd --reload, sudo firewall-cmd --permanent --add-service=http
alex foxton avatar
me flag
with firewall-cmd achieves the same problem what do you mean by program and flags?
tilleyc avatar
us flag
Try this and paste the results: `firewall-cmd —reload`
alex foxton avatar
me flag
usage: see firewall-cmd man page firewall-cmd: error: unrecognized arguments: —reload
tilleyc avatar
us flag
Ok - as you can see from that, `firewall-cmd` is installed. Your commands are just formatted incorrectly. I’d suggest reading the man pages to see exactly how to format them properly. You should have appropriate spaces between the different flags.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.