Linux Terminal Commands - BenWare-FED/Notes-for-df-analysis GitHub Wiki

man(any command): gives a manual for the command

ls: list the contents of the current directory

cd: change directory

cd-: Moves you up a directory

cd~: Brings you to the home directory

mkdir: makes a new directory

pwd: shows current directory

rmdir: removes a directory

rm: deletes files

cp: copy files from source to destination

touch: create new, empty files and can be used to update timestamps on existing files

cat: concatenate, used to concatenate and display text files. Can also be used to add text from one file to another. e.g. file1.txt >> file2.txt

tar: creating, listing and retrieving from archive files

chmod: used to change the permission of the file that you own

chown: change ownership of the file/folder chown : <filename.txt>

ping: check connectivity, you need to stop it or it will run forever

whois: find the owner of a domain

ip: view the configuration of your device

ps: view processes that are running

top: view cpu usage of processes

>: used to indicate direction >> appends files

|: used it push the output of one command as the input of another

who: Displays the user who is currently logged in.

clear: Clears the terminal of all text.

date: Prints the time and date.

⚠️ **GitHub.com Fallback** ⚠️