Skip to main content

Linux

5 Linux commands to check free disk space

Linux df command The df command stands for "disk-free," and shows available and used disk space ...

6 tcpdump network traffic filter options

https://www.redhat.com/sysadmin/tcpdump-part-one 1. Option -D tcpdump with -D provides a list o...

DHCP on Linux

renew ip address - sudo dhclient -r

dmidecode -t memory

dmidecode -t memory Shows status of installed memory

How to Change Passwords in Linux

https://www.tomshardware.com/how-to/change-passwords-in-linux How to Change your Password in Lin...

How To Configure Firewall with UFW on Ubuntu 20.04 LTS

https://www.cyberciti.biz/faq/how-to-configure-firewall-with-ufw-on-ubuntu-20-04-lts/ How do I s...

How to Install NTP Server and Client(s) on Ubuntu 22.04 LTS

https://vitux.com/how-to-install-ntp-server-and-client-on-ubuntu/ NTP or Network Time Protoc...

How to Set Time, Timezone and Synchronize System Clock in Linux

The ‘timedatectl‘ command is a new utility for RHEL-based and Debian-based distributions. It is a...

How to Symlink a Directory in Linux

Symlink, also known as a symbolic link in Linux, creates a link to a file or a directory for easi...

LN Command - Create Links

https://linuxize.com/post/how-to-create-symbolic-links-in-linux-using-the-ln-command/ Links Type...

Sysadmins Networking Cheat Sheet

Using Cert Bot to get a Valid SSL certificate

This guide will detail how to get a valid SSL cert using certbot on Linux operating systems Cert...

Using Netplan to set a static IP address

https://www.linux.com/topic/distributions/how-use-netplan-network-configuration-tool-linux/ Ma...

Using S.M.A.R.T to check disk health

https://linuxconfig.org/how-to-check-an-hard-drive-health-from-the-command-line-using-smartctl s...

Show used disk space on Linux

sudo du -h -x -d1 /

Clean Archive Cache

Run this after doing an apt upgrade sudo apt-get clean

Expand LVM Volume

Expanding the Logical Volume Check Available Space: Before expanding, check how much free sp...

Ubuntu 20.04: How to Extend Partition (For Noobs)

https://forum.cloudron.io/topic/6086/ubuntu-20-04-how-to-extend-partition-for-noobs/2 Our Ubuntu...

Live resize root partition on Linux Server (VM)

https://www.clouvider.com/knowledge_base/live-resize-root-partition-on-linux-server/ Most virtua...

Mount SMB Share on boot

# SMB share//<SMBSharePath> <local path> cifs username=,password=,uid=,gid=,iocharset=utf8,file_m...

How to enable Swap on Linux

https://azdigi.com/blog/en/linux-server-en/linux-fundementals/how-to-enable-swap-on-linux/ Step ...

How To Check Swap Usage Size and Utilization in Linux

https://www.cyberciti.biz/faq/linux-check-swap-usage-command/ Check swap usage size and utilizat...

Mount an SMB Share in Linux

https://www.linode.com/docs/guides/linux-mount-smb-share/ Determining how to share files and dir...