Friday, 8 December 2017

Important Linux Commands

Important Linux commands

 

 

  • touch


The touch is the make file command - Functions : To make files using the Linux CLI. Just as the mkdir command makes directories, the touch command makes files. Just as you would make a .doc or a .txt using a PC desktop, the touch command makes empty files.

Syntax :

$ touch textfile.txt

 

  • ls


The ls is list command - functions:  To show all of the major directories filed under a given file system.

Syntax :

$ ls /application/folderetc



  • clear


The clear command clears the screen and wipes the board clean.

Syntax :

$ clear 



  • mv


The mv command - move , Function: To allows a user to move a file/files to another folder or directory. J

Syntax :

$ mv /Source/folder/path  /destination/folder/path



  • man


The man is manual command - Function: To show the manual of the inputted command in Terminal.Command can be example...man cd  etc


Syntax :


$ man command


  • clear


The clear command clears the screen and wipes the board clean.

Syntax :

$ clear


  • mkdir


The mkdir stands for make directory command, Function: Allows the user to make a new directory.



Syntax :

$ mkdir testdirectory



  • rmdir


The rmdir is remove directory command, Functions:  To remove an existing command using the Linux CLI.

Syntax :

$ rmdir testdirectory


  • rm


The rm is remove command, Functions : To remove files from your Linux OS.


Syntax :

$ rm testfile.txt


  • locate


The locate is find - command , Function: To find a file within the Linux OS. If you don't know the name of a certain file or you aren't sure where the file is saved and stored.

Syntax :

$ locate -i *filen*x*


  • cd


The cd stands for change directory - Funtions: To allow the user to change between file directories.

Syntax : 

$ cd /foldername/applicationname

No comments:

Post a Comment

Best forums to know about latest technology

Best websites/blogs/forums to know about latest technology For technology Digital Trends Web Trends Technology Technology T...