Kali Linux Basics Commands:-The following is a list of commonly used commands which are organized under different categories for understanding and ease of use. Keys proceeded by a ^ character are CONTROL key combinations. Scroll Down to learn more about Kali Linux Basics Commandskali linux utilities and basics commands
Kali Linux Basics CommandsTerminal Control Characters^h backspace erase previously typed character^u erase entire line of input so far typed^d end-of-input for programs reading from terminal^s stop printing on terminal^q continues printing on terminal^z currently running job; restart with bg or fgDEL, ^c kill currently running program and allow clean-up before exiting^ emergency kill of currently running program with no chance of cleanupLogin and AuthenticationLogin access computer; start interactive sessionLogout disconnect terminal sessionPasswd change local login password; you must set a non-trivial password
date show date and timehistory list of previously executed commandspine send or receive mail messagesmsgs display system messagesman show on-line documentation by program nameinfo on-line documentation for GNU programsw, who who is on the system and what are they doingwho am i who is logged onto this terminaltop show system status and top CPU-using processesuptime show one line summary of system statusfinger find out info about a user@systemFile Managementcat combine filescp copy filesls list files in a directory and their attributesmv change file name or directory locationrm remove filesln create another link (name) to a filechmod set file permissionsdes encrypt a data file with a private keyfind find files that match specified criteriaDisplay Contents of Filescat copy file to display devicevi screen editor for modifying text filesmore show text file on display terminal with paging controlhead show first few lines of a file(s)tail show last few lines of a file; or reverse line order Operating Systemgrep display lines that match a patternlpr send file to line printerpr format file with page headers, multiple columns etc.diff compare two files and show differencescmp compare two binary files and report if differentod display binary file as equivalent octal/hex codesfile examine file(s) and tell you whether text, data, etc.wc count characters, words, and lines in a fileDirectoriescd change to new directorymkdir create new directoryrmdir remove empty directory (remove files first)mv change name of directorypwd show current directoryDevicesdf summarize free space on disk devicedu show disk space used by files or directoriesSpecial Character Handling for C-shell* match any characters in a file name~user shorthand for home directory of “user”$name substitute value of variable “name” turn off special meaning of character that follows‘ In pairs, quote string with special chars, except !“ In pairs, quote string with special chars, except !, $` In pairs, substitute output from enclosed commandControlling Program Execution for C-shell& run job in backgroundDEL, ^c kill job in foreground^z suspend job in foregroundfg restart suspended job in foregroundbg run suspended job in background; delimit commands on same line( ) group commands on same line! re-run earlier command from history listps print process statuskill kill background job or previous processnice run program at lower priorityat run program at a later timecrontab run program at specified intervalslimit see or set resource limits for programsalias create alias name for program (in .login)sh, csh execute command fileKali Linux Basics Commands