Skip to content

Conversation

@gabriel-scripts
Copy link

Add 3 more features to the .bashrc

  1. system_init function:
  • Indentifes the system manager (sytemd, Sysvinit, Openrc or runit)
  1. firewall function:
  • Firewall manager to open, close, and see the ports of firewall.
  • Reset the firewall to default and restart.
  1. configssh function:
  • To start, stop, restart ssh.
  • To edit the ssh file.
  • And connect to someone ssh server.

@ChrisTitusTech
Copy link
Owner

Too much bloat added the .bashrc.
I liked the bashrestart alias though.

@gabriel-scripts
Copy link
Author

i'm using a lot the bashrestart lol
thank you for commenting, i can make a small version of this functions, because i coded some reducance ones, make it more clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants