Hello, today we are going to take a look at Top 23 commands, to begin with, Kali Linux.
The commands we are going to learn today will be easy and there will be some trick to remember them. If you have not subscribed to your youtube channel so far. Please visit on EFX TV and subscribe to it to know about us. Let us get into the commands quickly.
The commands we are going to learn about are listed below:
01 pwd - Present working directory
02 ls - list directories or list files in a particular folder
03 ls -la - all directories with execution permissions.
04 cd change directory cd .., to go back a step, cd double space to get back to home
05 clear - to clear the screen
06 touch file.txt -To create a file
07 rm FileName - to remove the file
08 rmdir folderName / rm folderOrfile -r to remove files and folders
09 rm * -r (delete all files) - delete all the files in particular directory
directoryName
10 mkdir FolderName - create a folder
11 nano text.text - to check the content a text file has.
12 whoami - to check you are in user either its root or other.
13 Chmod - to change permissions.
14 cat file.txt/file.py/.anything - it will print content for the file.
15 less file.txt - show the huge amount of text you can scroll using arrow buttons.
16 cat file.txt | grep textWantTosearch - to search keywords in a text file
17 echo john > john.txt - rewrite entire text file
18 history - to check all the command history you used in the terminal
20 cp file.txt /directory/ - Copy the file to another directory
21 mv file.txt /directory/ - move the file to another directory
22 man programeName - to check the detailed list of help commands for a particular program.
23 locate word - to locate all the files has 'word' in their name)
24 passwd - To change your root password or user password
25 gedit file.txt / leafpad /folder/folder/file.txt - open text in the text editor.
The commands we are going to learn today will be easy and there will be some trick to remember them. If you have not subscribed to your youtube channel so far. Please visit on EFX TV and subscribe to it to know about us. Let us get into the commands quickly.
The commands we are going to learn about are listed below:
01 pwd - Present working directory
02 ls - list directories or list files in a particular folder
03 ls -la - all directories with execution permissions.
04 cd change directory cd .., to go back a step, cd double space to get back to home
05 clear - to clear the screen
06 touch file.txt -To create a file
07 rm FileName - to remove the file
08 rmdir folderName / rm folderOrfile -r to remove files and folders
09 rm * -r (delete all files) - delete all the files in particular directory
directoryName
10 mkdir FolderName - create a folder
11 nano text.text - to check the content a text file has.
12 whoami - to check you are in user either its root or other.
13 Chmod - to change permissions.
14 cat file.txt/file.py/.anything - it will print content for the file.
15 less file.txt - show the huge amount of text you can scroll using arrow buttons.
16 cat file.txt | grep textWantTosearch - to search keywords in a text file
17 echo john > john.txt - rewrite entire text file
18 history - to check all the command history you used in the terminal
20 cp file.txt /directory/ - Copy the file to another directory
21 mv file.txt /directory/ - move the file to another directory
22 man programeName - to check the detailed list of help commands for a particular program.
23 locate word - to locate all the files has 'word' in their name)
24 passwd - To change your root password or user password
25 gedit file.txt / leafpad /folder/folder/file.txt - open text in the text editor.