pwd
: What is your terminal’s current directory?ls [-l] [-a] [path]
: List Files in [path]cd [path]
: Change Directory to [path]man [command]
: View command documentation in an interactive reader, up and down arrow to scroll. Q to exit./home/kali/folder1/folder2
: Absolute File Path; this will never change.~/folder1/folder2
: Absolute File Path, relative to home directory. This shouldn’t change unless your home directory changes.folder1/folder2/
: Relative File Path, this depends on which folder you are in (see pwd
).Your window into the world of the Linux operating system originals from the shell in which you enter commands and read output from different commands ran. There are many different shells out there on different operating systems, below are some examples:
sh
or /bin/sh
: One of the OG shells inherited from UNIX, the source material for Linux. It isn’t really used often for entering commands, but works great as a scripting language, and you’ll still find them today with scripts ending in .sh
.bash
or /bin/bash
: Created to replace sh
, bash is a robust shell with many improvements to the original, with tab completion, history, customization, aliases, variables, and jobs. This is the default shell on most Linux Distributions.zsh
or /bin/zsh
: The shiny new kid (1990) on the block, based on sh
, offers more improvements to customization, tab completion and history along with taking quality-of-life features from other shells like bash
, ksh
, and tcsh
. There is also a community behind zsh
called “oh my zsh” (linked below) which offers installation and configuration scripts for managing your zsh
shell. Z-Shell is the default shell for your Kali Linux.