Linux commands | Linux tutorials

By | August 5, 2019
Spread the love

Following are the useful Linux commands. If you use these Linux commands that will help you a lot if you plan to learn Linux.

Linux commands

uname

It will show your operating system name.

See Also:

Finding Files in Linux | Linux tutorials

uname -r

This Linux command will show you the name and version of the operating system which you are using.

uname -a

This command will show you all the detail about your operating system.

history

This command will show you all the commands that you have recently typed in your terminal.

ls Command

It means list

ls will show you the list of files in that folder.

cd .. for one folder back

-#

it means that you are in system folder. You are linked. All permissions are allowed for you.
permissions means that you can execute any thing.

/#

it means that you are in the user folder or user disk. And in user folder you cannot run any file.
You have no permisions there and you cannot run any file. If you have to run any file then you first allow
permissions.

to enter to any folder write cd and then folder name. e.g cd desktop

ls means list of directories.

touch command is used for creating any file. e.g touch courseshub

rm will delete the file. e.g rm courseshub

mkdir

make directory

this command will help you to create directory

e.g mkdir courseshub

If you write separate folder then you can create it once

mkdir courseshub free courses

so the above command will create three folders

rmdir direcotory name

above command will delete directory

cp

this command is used for copying

For copying files you have to use below command

e.g cp filename /root/desktop/umer

Copy Folder

For copying folder you have to use below command.

cpdir directoryName distination directory

e.g cpdir umer /root/desktop/asad

to copy umer directory to asad directry

chmod +x filename

This command is used to give permision to any file that you want to execute.

Syntax: chomod +x filename

For example: I want the permision to “the choise” to execute then I will write the above command link
this.

chmod +x thechoise

the choise color will go green when it got permission.

./scriptname

this command is used to run/execute any script

./scriptname

Social Engineering tools:

Site Cloing Tools:

SEtoolkit,Weeman,Social Fish

Use Templates
Clone a Website

mv

— all double hyphen is used for writing full word.

if you have difficulty feel free to contact me on facebook

  •  
    78
    Shares
  • 76
  •  
  •  
  •  
  • 2
  •  
  •  
  •   
  •   
  •   
  •   
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *