This blog will help to learn about basic Linux Commands which helps security researchers, penetration testers or ethical hackers during their daily activities. To demonstrate practically, we used Linux operating system such as Kali Linux but we cam use other Linux operating systems as well such as Ubuntu or other flavor of Linux . We can install Linux operating system like Kali Linux or Ubuntu  or any in VMware, Virtual Box or directly in our systems for leaning Linux Commands.

Start the Kali Linux in VMware

In Kali Linux open the terminal window

Type “pwd” command in Kali Linux terminal and we can see the user present directory.

Type ls -l command in Kali Linux terminal and we can see the list of files as well as directories which are present in current working directory and permissions of these files and folders, their owner name, group name, last access date and time

Type “mkdir” command in Kali Linux terminal with the new directory name which we want to create in user present directory.

Type “cd” command which is used to change present or working directory.

“touch” command is used to create a new empty file.

“nano” command is used to open file in write mode so that it can be edited if you are already root user.

Now you can save the file or discard the changes.

“cat” command in Linux helps to show the content of a file in read mode

“cp” command in Linux can copy content from source file to a destination file or copy file from one directory to another directory.

“rm” command in Linux is used to remove or delete a file

“clear” command in Linux helps to clear the terminal content which is showing currently.

“mv” command is used in Linux to move a file or directory from one place to another. Also, it is used for renaming a file or directory.

By using “rmdir” command we can remove an empty directory

“help” command is used to view documents of any tool or commands

“man” command in Linux can be used to view the manual page of command/tool for syntax

“useradd” command is used to create a new user for the machine

“userdel” command is used to delete a user for the machine

“chmod” command in Linux helps to give the permission to files or directories.

“chown” command can change the ownership of a file or directory

“groupadd” command can add new group.

“groupdel” command can delete the group

There are lots of other Linux Commands that can help anyone to perform different operations in Linux and to make the work faster.