Category Archives: Linux

Tiny Core Linux

How to get into root: sudo su Default user is tc and password is not set for the user to set the password for tc user use following command: passwd Change ip address of interface in tiny core: ifconfig eth0 … Continue reading

Posted in Linux | Tagged | Leave a comment

Untar files in linux

To extract the tar file use following command: tar -xf <name of the file> To extract file to a new directory use following command: mkdir techsupport && tar -xf techsupport.tgz -C techsupport

Posted in Linux | Tagged , , | Leave a comment

Install Java on Linux offline

Step 1. Download the package. Step 2. Create a directory named “jdk” under /opt/ jdk can have all the packages which are installed manually. Step 3. Extract and keep the package under /opt/jdk tar -zxf jdk-8u111-linux-i586.tar.gz -C /opt/jdk Step 4. … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Install Django on ubuntu offline

Step 1. Download the stable release of the Django from the official website. Step 2. Untar the downloaded file. tar -xf Django-1.8.17.tar.gz Step 3. Change the directory to the directory where extracted files are and run following command: python setup.py … Continue reading

Posted in Linux | Tagged , , , , , , | Leave a comment

Install software in Linux offline

Step 1. Download the software package from the website. Step 2. Untar the files with following command. tar -zxvf filename.tar.gz Step 3. Change the current directory to the directory where the files are extracted and run following file. ./configure Step … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Linux how to

Below command have been tested on Ubuntu OS. Remove a directory: rmdir python Remove a non empty directory: rm -rf pythonscripts To reach to your home directory: cd ~ To create a path shortcut in linux: Create a global variable: … Continue reading

Posted in Linux | Tagged , , | Leave a comment

apt-get install, apt-get upgrade

While installing software in linux (kali 2.0) you may get following error it could be your software list is not up to date: E: Unable to locate package Now if you run command apt-get upgrade you will end up with … Continue reading

Posted in Linux | Tagged , , | Leave a comment