CyberSecurity Linux Commands

salman reza
1 min readApr 11, 2021

This month I will be focusing on writing Beginners Linux Commands. Every week I will write about 5 Linux commands and I would encourage anyone who wants to explore the field of CyberSecurity to practice these.

1) ls command

This command List files and folders in the current directory.

The Parameters are:

–l is used to list the content as a detailed list.

-a is used to Display all files (hidden + non-hidden).

You can combine parameters like this: ls -la

2) cd command

This command is used to change the directory from the current directory to another one.

3) cp command

This is used to Copy the source to the target.

The parameters are Parameters:

i is Interactive mode means waiting for the confirmation if there are files on the target, it will be overwritten.

-r is Recursive copy means include subdirectories if they found.

4) mv command

This is used to Move the source to target and remove the source.

The Parameters are:

i is Interactive mode means to wait for the confirmation if there are files on the target, it will be overwritten.

5)rm command

Is used to Delete a file or directory, and you must use –r in case you want to delete a directory.

The Parameters are:

-r is recursive delete means delete all subdirectories if found.

-i Interactive means wait till confirmation

--

--