Category Archives: Linux

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. /opt/ 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 commands

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: export variablename=”path” Use in the command for example: … 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

SYS log server listening on TCP

If you want to have a TCP syslog server you can use one of the Unix/Unix-Like-Systems open source server which is syslog-ng 1> Update your app store. You should be the ┬ároot user to perform the following actions. apt-get update … Continue reading

Posted in Linux | Leave a comment