Linux Basic Commands

A list of useful bash/zsh shell commands

Befehle

sudo: Run the given command as the root user
ls: List the contents of a directory
cd: Change directory
cat: Concat­enate files together and print them to screen ( stdout ), if only one file is given just print the file to the screen
touch: Create a file
w: Print what other users are running
man: Manual page viewer
apropos: Manual page searcher
history: Print the command history to the terminal
echo: Print to the terminal
env: Print the current enviro­nment variables
whoami: Display the user running the commands
lastlog: Shows the last time any user on the system has logged in
df: Shows the size of all the filesy­stems
Zurück zur Übersicht