Archive

Archive for June, 2017

Install sublime on Ubuntu

June 22, 2017 Leave a comment

Sublime is a very popular editor, it is very easy to use and very lightweight.
Sublime site https://www.sublimetext.com/

Installation of sublime is very simple on linux.

For Sublime-Text-2:

$ sudo add-apt-repository ppa:webupd8team/sublime-text-2
$ sudo apt-get update
$ sudo apt-get install sublime-text

For Sublime-Text-3:

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

Advertisements

Update kali source.list

June 15, 2017 Leave a comment

Paste following line in etc/apt/source.list

# deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ – Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ – Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free

Categories: Etc

14GB pen drive lost space

June 10, 2017 Leave a comment

Insert pen drive in usb port and follow following command.

cmd
diskpart
list disk
select disk 1 (Careful! Choose the correct number here. See note above.)
list partition (Inspect the results to double-check this is the right disk)
clean
list partition (There should be none)
create partition primary
list partition (There should be one)
format fs=fat32 quick
list partition (There should still be one)
exit

%d bloggers like this: