Pages

Wednesday, June 16, 2021

CLI Shorcut

 CLI:

--whoami

--hostname

--uname

--uname -a

--clear

--pwd

--ls //List

--ls -l

--ls -a

--date

--cal

--cd folder_name/ //Enter the folder

--cd folder_name/folder_name //Enter the folder to folder

--touch file_name //Create File

--rm file_name //Delete File

--nano file_name //Edit File for linux 

--notepad file_name //Edit File in notepad

--cat file_name //Open File

--mkdir project //Create Directory

--mkdir css images js //Create more directory

--touch admin/index.html //Create file to folder location

--cp css/app.css admin/css/     //Copy one to another folder

--mv vendor/ js/ //Move one to another

--rm -r admin/ //Remove directory

--cd .. //Back to previous folder  

--man ls //Manual of commman ls

--help //For All command

--locate file_name //Find out file in computer

--locate 'From Win'

--find file_name //Only Find in directory 

--curl https://google.com

--file file_name //File and File type

--history

--env

--df //Drive Space

--reboot

--shutdown

--ctrl+c again ctrl+c //for cancel command



--https://chocolatey.org/courses


No comments:

Post a Comment