General Linux Commands
Commands and General functions | In Terminal
General Linux Commands | In terminal
Check operating systemcat/etc/*rel* Check system info CPU cat /proc/cpuinfo Mem...
Time In Linux | setting time zones
Check your timezone on Linux by typing in timedatectl command. Output: $ timedatectl ...
BASH | General commands
When running bash scripts, you can include other commands on the same line by using these at the ...
Nginx | General Commands
A few commands Nginx systemctl start nginxsystemctl stop nginxsystemctl restart nginxsystemctl s...
Docker | General Commands
Do you have docker? docker -v Install Docker: apt install docker Do you have docker-compose? d...
Linux command line: bash + utilities
A & Start a new process in the background alias Create an alias • ...
UnZip and UnCompress
xz-utils: You will need xz-utils if you dont have it already. If not, You have to install xz-uti...
How to check IP address from command line | Internal and External
Check your Internal IP address To check you current machines addres: "ip add" or "ip addr" or; ...
UFW
Allow ports sudo ufw allow 22 remove ports sudo ufw delete allow 22
How to clean log files in Linux
Fisrt, See the logs that are in the logs area of /var du -h /var/log/ The du command prints the...