Tuesday, June 17, 2014

Sublime-text-3 on Ubuntu

Installing sublime-text-3 on Ubuntu via PPA


Do this following on your terminal window in Ubuntu:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

And to run the sublime text on from your terminal, just type:

subl <folder or file name>

Hope this helps!

Monday, June 16, 2014

Deleting a UFW rule in Ubuntu?

How to delete a ufw rule in Ubuntu?


You could just do a "sudo ufw delete ####" and the role would be deleted. 

But how could you get the rule number?

You simply do a "sudo ufw status numbered", this would display you the role number on the left most of the list. Doing just the "sudo ufw status" won't display the rule number.

When you have the rule number already, you could call the "sudo ufw delete  ####" (specifying the rule number from the list)

Hope this helps!