How to Zip Files in Linux Easily!

Zip in linux
2 min read

Zip is the most widely used file format that provides easy compressing of files without even loss of any quality. In this article, you gonna learn how you can zip and unzip Linux files easily.

Zip Linux files.

To Zip files and directories in Linux is a little bit difficult for a beginner. But I will try my best to explain you to the fullest. As Zip provides little to no data loss on compression it is widely used. We all use it without any hassle but it is quite complicated when comes to compression. Furthermore, In this article, you are going to learn how to use Zip and Unzip in Linux based OS such as Ubuntu or Parrot Sec, etc.

Install Zip in Linux.

If you haven’t installed Zip you can install it by entering all the commands listed below. But mostly it is installed in most of the Linux system. In case, it isn’t installed. You first need to install it.

Note: Mostly Linux Based OS Comes With Pre-installed Zip.

To check whether your system has installed zip and unzip or not you can use the following command:

zip -v && unzip -v 

After you enter the command. The system will probably give you a version of Zip and Unzip. If it gives well and good if it doesn’t gives then install zip and unzip. To install follow the below tutorial:

1.Update your system using :

sudo apt-get update

2. To install Zip, enter:

sudo apt-get install zip

3. To install Unzip, enter:

sudo apt-get install unzip

Zip files and Directories in Linux

To Zip files is just a piece of a cake. Let’s begin zipping,

To zip files in an archive, you’ll need to specify it something just like this:

sudo zip file1 file2 file3

To Suppress the output of archive use “-q”

sudo zip -q file1 file2 file3 file4

If you have to create a ZIP of a particular directory and its subdirectory altogether. You can use the “-r” command line

zip -r directory_name


Create a password-protected Zip:

To create a password-protected Zip to ensure more security you can use “-e” command to encrypt it.

zip -e directory_name

Now it will ask you to enter your desired password that you wanna set for your zip archive.


I hope you’ve understood everything about ZIP. If I had missed an important point, let me know in the comment section below or contact our team via contact us page. Thanks for landing on this article have a nice day dude 🙂

Remove Files and Directories Using Linux CLI

Remove files and directories in LInux
3 min read

Using Linux is a bit difficult if you are an absolute beginner. In this article you gonna have a look at how to remove files and directories using rm command in Linux command-line interface.

Remove files and directories in LInux

It is quite easy to use the rm command in Linux CLI. Follow me carefully if you don’t want to face any errors or file loss.

You can use the rm command to delete a specific file or directory in Linux OS. In most Linux system, deleting a file requires admin permission. In this article I have explained about everything. Becareful when you use the command rm cause it doesn’t asks permission to delete a file. Therefore, if you delete a file it will be out of your Linux system permanantely. Linux is multi-user, therefore, it doesn’t allows you even to recover your deleted files. So, once you’ve deleted the files you are fired. If the file is deleted the Linux will use it for else purpose.


How to Remove Files Using “rm”?

Let’s learn to use the rm command. It is very command between Linux users. Beware about all your files and directories if you don’t want to lose an important file. To delete your desired file, follow me.

  1. To delete a simple file of name “ANYNAME“.


If it asks that “You want to delete a File?” then you just press “y” and press enter. It usually happens when your file is protected.

2. Delete multiple files using rm.


3. Force delete any file without any permission.


4. Use the rm command combined. This will delete all the files in the particular format, for example, .html, .txt

rm -fv *.html

Remove Directories Using rm command.

  1. Remove any folder[empty] using rm.

rm -d dirname

This will remove an empty folder easily.

2. Remove folder+all files in it.

rm -r dirname

3. Remove multiple folders+all files in them using the rm command.

rm -r dirname1 dirname2 dirname3


I hope you’ve now understood about the rm command. And most importantly how you can delete a file in linux without any futher hassel. Make sure you do all the above steps very carefully or once a file is deleted you can’t recover it. If you have any problem regarding linux you can contact our team. We will provide the most quick assistance for your problem. Furthermore, if you want any request for any article, you can contact our team on Facebook Page or just leave a message on Instagram to our Admin[ID: @iamsuyash69].

If you are new to Linux you can visit our website

Best Ways to List Users in Linux OS

List Linux Users
2 min read

Each Operating System has its own environment that a user needs to understand. Linux is a very powerful OS as compared to others. In this article, we gonna learn about the Best Ways to List Linux Users”. All the methods are purely true and tested by our team.

List Linux Users

List Linux Users:

  • Usingless /etc/passwd to list users.

This command will help you to list the locally stored users in the system. After you’ve used the command it will give output as:

nuucp:*:6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico
jdoe:*:202:1:John Doe:/home/jdoe:/usr/bin/ksh 

The output format is as follows:

  • Username
  • Password(encrypted: you won’t be able to see)
  • UID
  • GID
  • Full Name
  • The home directory of a particular user.


  • Using compgen

This command helps you to list all the users without any further information. “compgen” is used with -u command. eg,

compgen -u

The output will be very simple like,


  • List the Usernames.

I have already told you about “compgen” command. There is another way to do the same thing.
cut -d: -f1 /etc/passwd
This will too, give you simple usernames without any further instance of the users.



  • List Users using Gatent Command:

It will give you a detailed output as I’ve shown in “less /etc/passwd“. Example,

nuucp:*:6:5:uucp login user:/var/spool/uucppublic:/usr/sbin/uucp/uucico
jdoe:*:202:1:John Doe:/home/jdoe:/usr/bin/ksh 

How to check existing users?

It is very simple to identify existing users. Just use the following command,

johndoe:x:1000:1000:John Doe,,,:/home/johndoe:/bin/bash

It will give you the output with all the details of the users if it exists.

Follow me on Instagram to support my work:

How to Rename Local Git Branch?

rename branch git

2 min readSo, you’ve created a git branch but renamed it incorrectly? This article is for you! You’ve got good luck as Git allows to rename the Git Branch easily just by using the -m code. Let’s learn how to do it?

rename branch git

What is Branch Git?

branch in Git is simply a lightweight movable pointer to one of these commits.

How to Rename Branch Git?

If you are following my steps carefully then don’t worry you will be able to rename very easily. It just consists of few steps. Follow me:

    1. Switch to the Git that you want name to be changed.

    git checkout  <OLD-NAME>

  1.  Rename Branch Git. By using the following command.

git branch -m  <NEW-NAME>

3.  Delete the Old-name remote branch.

git push origin --delete <OLD-NAME>

4.  Insert <NEW-NAME> and reset the up-stream branch.

git push origin -u <NEW-NAME>

Now you’ve successfully renamed the local and remote git branch.



I hope you’ve understood to rename git branch. If you have any queries or suggestions related to this article feel free to contact our team. Contact Us page is for you. But while you are doing anything make sure you follow everything in this article carefully. Thanks for landing on this article. Have a nice day…Ahead.

Best Text Editors for Ubuntu – Updated 2019

Best Text editors for ubuntu

4 min readYou might be searching for the best text editor that you can use in your Ubuntu system. Well, here I will tell you the “Best Text Editors for Ubuntu” that you’ll probably gonna like. Let’s begin a great journey…

Best Text editors for ubuntu

So, if you going or thinking to develop an application. Then, this article is a great choice, sir. I will tell you about all the editors that I’ve used personally and liked. I am also gonna link the official website from where you can redirect and download these editors officially without any issue of risk.

Best Text Editors for Ubuntu

  1. Atom.

Atom - Best text editors for ubuntu

Atom is one of the best text editors for ubuntu out there. Even I personally like it. Atom is officially free and open-source developed and managed by Github. It has a completely customizable UI that everyone likes and praises.

It supports C, C++, C#, CoffeeScript, HTML, JavaScript, PHP, CSS, Python, Perl and many other languages. Furthermore, it is also called as the completely hackable text editor.

2. VIM

VIM - Best text editors for ubuntu

VIM is an advanced text editor for ubuntu with IDE-like features. It is a very simple text editor but a beginner will find it really difficult to use it. Still, it is one of the most powerful text editors out there in the market for ubuntu users.

3. Sublime Text

Sublime Text - Best text editors for ubuntu.

Sublime Text is a source code editor codded in C++, Python with PythonAPI. If you are a simple kind of developer who doesn’t like to mess with complex things than this one is for you. It consists of a lightweight UI. Its feature reaches IDE has many basic features like auto-completion,  etc. and many more advanced features like Minimap, Keyboard Shortcuts, Command Pallete, Split Editing, etc.


Geany - Best Text Editors for ubuntu

Geany is also a light and easy to use text editor designed for ubuntu. It is also mentioned in all the repositories of all Linux distros. It is ideal for programming especially

5. Eclipse

Eclipse - Best Text Editors for ubuntuIt is an open-source editor designed for java developers. It is very advanced and modern kind of IDE available in the market which is written in JAVA. Eclipse helps you in JAVA programming Furthermore, if you install external plugins you can code in other languages as well. It comes with a cool IDE which will comfort your eyes.

6. Brackets

Brackets - Best Text Editors for ubuntu

Who doesn’t know Adobe? Brackets is developed by Adobe. It is fully open-source with very impressive UI and IDE. If we want, we can install external plugins to get more amazing features. It provides developers with amazing features which makes text editing very easy.


7. BlueFish Editor

BlueFish - Best Text Editors for ubuntu

Image is cute right? The BlueFish text editor is developed by BlueFish team. It supports c++, Html, CSS, PHP, C, SQL, JAVA, Python, etc. Furthermore, this is a very simple and light text editor. If you want to use it you can get it from their official website.


Gedit - Best Text Editors for ubuntu

Gedit is an IDE which comes preinstalled as the default code editor of GNOME. This is created with simplicity in mind. Gedit offers you customizable of syntax highlighting for several programming languages such as C, C++, HTML, JavaScript, XML, Python, Perl, etc.


CodeLite - Best Text Editors for ubuntu

CodeLite is a free and completely open-source text editor. You can program in C, C++, PHP, and JavaScript. You can even use it on Mac or windows rather than Linux.

10. Code::Blocks

Code::Blocks - Best Text Editors for ubuntu

For its consistent UI, it has become one of the most renowned C++ code editors for all the major platform. You can install many plugins that are too developed by Code::Blocks only which makes it really popular among young developers.

Code Blocks

If you’ve enjoyed reading this article make sure to comment down below and tell me about your favorite text editor that you would use.

Bleah – The BLE scanner for Smart Devices.

3 min read

You might be searching for a scanner for smart devices. Or you might be looking for how to install “Bleah” in your Linux system. Here, you goona discover everything about it. This tool is coded by Simone ‘evilsocket’ Margaritelli.


Disclaimer: Techy team don’t have any responsibility if you attack someone else network without prior permission. Everything you do after it is your own risk. Just a general reminder.

How to install Bleah?

Installing bleah is quite easy and even using this tool is very easy. Just follow the below tutorial.

  • Install [bluepy] ( from:
git clone
cd bluepy
python build
sudo python install
  • Let’s install our tool aka Bleah:
git clone
cd bleah
python build
sudo python install

Installing is done. Now you can successfully use the tool for your work. Don’t know how to use??? This article contains everything about it. Let’s look at how to use this tool?!

How to use the Tool?

usage: bleah [-h] [-i HCI] [-t TIMEOUT] [-s SENSITIVITY] [-b MAC] [-f] [-e] [-u UUID] [-d DATA] [-r DATAFILE]

optional arguments:
  -h, --help            show this help message and exit
  -i HCI, --hci HCI     HCI device index.
  -t TIMEOUT, --timeout TIMEOUT
                        Scan delay, 0 for continuous scanning.
                        dBm threshold.
  -b MAC, --mac MAC     Filter by device address.
  -f, --force           Try to connect even if the device doesn't allow to.
  -e, --enumerate       Connect to available devices and perform services
  -u UUID, --uuid UUID  Write data to this characteristic UUID (requires --mac
                        and --data).
  -d DATA, --data DATA  Data to be written.
  -r DATAFILE, --datafile DATAFILE
                        Read data to be written from this file.

Let’s look at some examples to make your understanding better of this tool.


Connect to a particular device and enumerate everything:

sudo bleah -b "aa:bb:cc:dd:ee:ff" -e

Keep scanning for BTLE devices:

sudo bleah -t0

So, hope you’ve understood everything about the tool. Happy hacking!!! If you’ve enjoyed reading this article make sure you leave a comment. Any problems? Tell me on my Instagram I will reply to you over there.

Download Tool – Github


I hope you have understood how to install bleah in your linux system. Do not scan any device that you don’t own as it is illegal by law.

If you’ve followed me carefully, you will face no problems and your Bleah will be installed without any problem. If you do face any problem. Please let our techeverywhere team know about it. So, that we can further solve that issue. If you have any suggestions or questions regarding our article, you can contact us via contact us page on our website. Sharing this article is highly appreatiated.