Command
  | 
Description
  | 
| compgen -c | 
Show all commands
  | 
| compgen -a | 
Show all alias commands
  | 
| compgen -A function | 
Show available functions
  | 
man <command>
  | 
Show manual page of a command (more info than --help)
  | 
<command> --help
  | 
Show help page of a command (less info than man command)
  | 
<command> --version
  | 
Show version of a command
  | 
  | 
  | 
ls -lah
  | 
List files/folders in current directory (+infos)
  | 
cd somefolder
  | 
Change/switch to another directory
  | 
cp file.txt file-copy.txt
  | 
Copy a file
  | 
mv file.txt file-renamed.txt
  | 
Rename a file
  | 
mv file.txt /tmp
  | 
Move file to another folder
  | 
rm file.txt
  | 
Remove a file
  | 
find . -name file.txt
  | 
Search for a file (recursive)
  | 
ln -s original target
  | 
Create a symlink
  | 
  | 
  | 
du -csh .
  | 
Show size of current folder
  | 
df -h
  | 
Show partitions / drives
  | 
lsb_release -a
  | 
Show OS Version / Informations
  | 
  | 
  | 
pwd
  | 
Show path of current folder
  | 
grep -rin "search string"
  | 
Search for a string in current folder (recursive)
  | 
grep -rin "search string" | cut -c 1-100
  | 
Search for a string in current folder + limit output of string
  | 
sed -Ei 's/someString/newString/g' file.txt
  | 
Replace "someString" with "newString" in a file
  | 
head file.txt
  | 
Show first 10 lines of file
  | 
tail file.txt
  | 
Show last 10 lines of file
  | 
cat file.txt
  | 
Show full content of file
  | 
which <command>
  | 
Show path location of a command
  | 
history | tail
  | 
Show last 10 lines of your history (commands)
  | 
bash myCustomScript.sh
  | 
Execute a custom shell script
  | 
wget https://www.somewhere495848.com/test.txt
  | 
Download a file
  |