Saturday, October 22, 2022

Basic Linux Commands

help -Shows you basics Commands and their use.


man -Shows you complete manual of that command or program.

ex- man ls , man cd , etc.


info -Shows the information of Commands.


ls - List all'the folder or files of a directory.


cd - Change directory (one' folder to another).


q -This command used to (exit the folder or files.)


h -Used to see a file or folder in mb/kb.


pwd - Print working directory.


dir -Same as ls.


mkdir -Creates an directory (folder).


cp - Copy a file or folder.


mv -Move a file or folder.


sudo su -Grant root privileges.

nano shell program.


cat -Shows content of a file.


rm -Remove a file.


rmdir -Remove a folder.


nano -Linux file editor.


ctrl+x -Used to exit the file or folder.


getit -File editor software.


chmod -Change directory permission.


./ -Executes shell files.


bash -Executes shell program.


apt-get-update -Update package lists (URL).


apt-get-upgrade -Update all installed software's.


apt-get-install -Install particular software.


whoami , y -For fun 


#aivel 





No comments:

Post a Comment

All Linux Commands

 *MOST USED ls -List files in directory ls -a List all files, including hidden ones pwd -Show the directory currently working in mkdir- ...