ls
List all contents of the directory.
pwd
Prints working directory (shows your current location’s full path).
cd
Change directory.
cd ~
Move to the user’s Home directory.
cd ..
Move up one level to the Parent directory.
cd -
Move to the previous directory you were just in.
mkdir
Make directory (creates a new folder).
touch
Create a new, empty file, or update an existing file’s timestamp.
cp
Copy files or directories.
mv
Move or rename a file/directory.
rm
Remove (delete) files.
cat
Catenate/display the contents of a file to the screen.
grep
Search for a pattern within files (Global Regular Expression Print).
ps
List processes currently running on the system.
man
Display the manual page/detailed help for a command.
–help
Display a brief help summary for a command.
sudo
Super User do (Execute a command with root/administrator privileges).
what is the pipe (|) used for?
Used to chain commands together.
How would you export a namespace?
export NAMESPACE=my-namespace
You would use it in a kubectl command like this: kubectl get pods -n $NAMESPACE