Press "Enter" to skip to content

Tag: Linux

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

Hello, To solve this issue when trying to apt-get your Ubuntu Linux use these commands: Option 1: sudo rm /var/lib/apt/lists/lock Maybe it is also needed…

Leave a Comment

How to list open ports on Linux

Hi, If you need to list the open ports on a Linux system you can use this command: netstat -an –inet | grep LISTEN |…

Leave a Comment

Reload iptables on every boot

Hi, To be able to load your iptables ruled everytime your Linux system is restarted just follow these commands. $ sudo iptables-save > /etc/firewall.conf Open /etc/network/if-up.d/iptables and add:…

Leave a Comment

How to compile a 32bits application using a 64bits linux system with gcc

Hi, In order to be able to compile a 32 bits application if you are using 64 bits Linux, a -m32 modifier needs to be…

Leave a Comment

How to “clear” a used port in a Linux system using a Django application.

Hi, If you face an error: “Error: That port is already in use.” you can solve it following these steps. This solution has been tested…

Leave a Comment

Find listening network ports

Hi, To obtain a list of all the open ports of your system and which are the associated applications to them just execute command: netstat -tulp …

Leave a Comment

Ubuntu 16.04 – A start job is running for Hold until boot finishes up [Error]

After trying to install the Gnome desktop in my Ubuntu 16.04 I couldn’t boot again my computer after rebooting. When I pressed ctrl+alt+f2 the message: “A…

2 Comments

Kali linux: Crear un nuevo usuario y añadirlo al grupo de sudoers

Hola, Aquí os enseño como crear un usuario al sistema y añadirlo posteriormente al grupo de sudoers. root@kali:~# useradd -m username -G sudo -s /bin/bash root@kali:~#…

Leave a Comment