Managing Files & Directory on Kali Linux | ||
Uses of Commands | Command | |
Show Current Directory | pwd | |
Change Directory | cd | |
Return one step from Directory | cd .. | |
Create a text file with writing something. | cat >"Type File Name, press Enter then write anything you want then press control D" | |
Create Folder Directory | mkdir ''Type Folder Name" | |
Copy folder/file to another directory | cp "Type Copy File or Folder Name" "Type Target Folder Name" | |
Move file to another director | mv "Moving File Name" "Target Folder Name" | |
Remove/Delete File | rm "Type File Name" | |
Remove Hole Folder | rm -r "Type Folder Name" | |
List file/folder of directory | ls | |
List all of the folder list | ls -R | |
List of all file/folder & permission | ls -l | |
Setup Users Account & Group | ||
Uses of Commands | Command | |
Move to Root User | sudo su | |
Create User | sudo useradd "type username" | |
View Total User list (See last line) | sudo cat /etc/passwd | |
Set password on User Account | sudo passwd "Type Username" | |
Create Group for User Account | sudo groupadd "Type Group Name" | |
Add User on a Group | sudo usermod -a -G "Type Group Name" "Type User Account Name" | |
Delete User Account | sudo userdel "Type User Account Name" | |
Delete User Account Group | sudo groupdel "Type Group Name" | |
0 | – – - | 0+0+0 |
1 | – – x | 0+0+1 |
2 | – w – | 0+2+0 |
3 | – w x | 0+2+1 |
4 | r – – | 4+0+0 |
5 | r – x | 4+0+1 |
6 | r w – | 4+2+0 |
7 | r w x | 4+2+1 |
Using Grep, Pipe & Sorting of Kali Linux | ||
Uses of Commands | Command | |
Pipe | | | |
Managing Processes & Task of Kali Linux | ||
Uses of Commands | Command | |
End of processing task of terminal | Control+Z | |
Show task manger on terminal | top | |
Show User Task Manager on terminal | ps ux | |
SSH, FTP, TELNET Networking Command on Kali Linux | ||
Uses of Commands | Command | |
Secure Shell | SSH | |
Listing of all protocol of SSH | ssh -h | |
Networking Command | ||
Uses of Commands | Command | |
Check Network Reply | ping "URL/IP address" | |
Check IP Address & Network interface | ifconfig | |
Assign IP Address Manually | sudo ifconfig "interface Name" "IP Address" | |
Assign Netmask Manually | sudo ifconfig "Interface Name" netmask "Write Netmask" | |
Assign Broadcast Address Manually | sudo ifconfig "Interface Name" broadcast "Write Broadcast Address" | |
Enumerate Users & System Info of Kali Linux | ||
Uses of Commands | Commands | |
Check Username | whoami | |
Check Id details | id | |
Check Hostname | hostname | |
Change Hostname | sudo nano /etc/hostname | |
Check Kali Linux Version | uname -a | |
Check Kali Linux Version Full Details | hostnamectl | |
Install Software/Tools on Kali Linux | ||
Uses of Commands | Commands | |
Install Software/Tools on Kali Linux | sudo apt install "Tools/Software Name Ex vlc" | |
Search Installed Software/Tools Details | sudo apt search "Tools/Software Name Ex vlc" | |
View Command Architecture | "Tools/Software Name Ex nmap" --help | |
User Manual of Software/Tools | man "Tools/Software Name Ex nmap" | |
Software/Tools Using Purpose | whatis "Tools/Software Name Ex nmap" |
Tags:
Linux Command's