Posts

Linux Commands

Image
1. pwd When you first open the terminal, you are in th e home directory of your user. To know which directory you are in, you can use the “ pwd ” command. It gives us the Absolute Path, which means the path that starts from the root. The root is the base of the Linux filesystem. It is denoted by a forward slash( / ). The user directory is usually something like /home/username. 2. ls The  “Is”  command is used to know what files are there in the directory you are in. You can see all the hidden files by...

How to solve grub error: no such partition

Image
Method 1: Step 1:Type following command and you will get screen as below.This command display all partition on your hard drive.Here (hd0,msdos1), (hd0,msdos2) and so on is your partitions. Command:   ls Step 2:Now type following command. Command:  ls (your partition name) Example :  ls (hd0,msdos1) Note:Here i am getting error  “Filesystem is unknown”.  You have to repeat this for all partition until you get  any none error message.Now here my partition is (hd0,msdos2)  If you get error message for all partition than try Method 2. Step ...

Things to do after installing Kali Linux

Image
Step 1 :  Fix the default Repository. Run following command in terminal :  leafpad  /etc/apt/sources.list Change sources.list to following: deb http://http.kali.org/kali kali-rolling main contrib non-free # For source package access, uncomment the following line deb-src http://http.kali.org/kali kali-rolling main contrib non-free Step 2 :  Update the system Well this is the first and most important task to update your system.update and upgrade process can take some time. updates  : updates the list of available packages and their versions, but it does not install or upgrade any...