Linux, Python, Security, and Open Source Software TIPS
- 💡 Use the 'lsof' command to quickly identify the ports that a specific service is listening on within a Linux system @opensuse @fedora @climagic Example:SERVICE=sshd; lsof -i -P -n | grep $SERVICE | awk '/LISTEN/ {print $9}' | uniq#ZikTIPs #SysAdmins #Linux #Opensource
- 🚀 If you're using Buildroot, check out my GitHub repo for patches! I've added support for new packages starting with Kea DHCP. 🔧💻 #Buildroot #KeaDHCP #DIY #embedded #Linux #Opensourcehttps://github.com/zikusooka/buildroot-patches
- 💡 Use the following command to quickly check how much space you have left on your Linux filesystem@opensuse @fedora @debian #ZikTIPs #Linux #CLI #Opensource #linuxdf -h –output=avail /
- 💡 If you have SELinux enabled on your Linux system, you can view the context of an object as follows @opensuse @fedora #ZikTIPS #Sysadmin #SELinux #CLI #OpenSUSE #LinuxFor a file:ls -Z [FILE] e.g.ls -Z /etc/selinux/configFor a process:ps -eZ | grep [PROCESS_NAME] e.g.ps -eZ | grep apache2
- 💡Get the inode number of a file using this simple command line on Linux @opensuse @fedora @archlinux ls -i [FILENAME] e.g.ls -i /etc/fstab#ZikTIPs #CLI #Fedora #OpenSUSE #Debian #Linux #opensource
- 💡 Display a list of all users on a Linux system using the following command @opensuse @fedora @ubuntu #ZikTIPs #CLI #Fedora #OpenSUSE #Ubuntu #Linux #opensourcegetent passwd | cut -d ":" -f1
- 💡 Quickly inspect the contents of a systemd unit file in Linux using the following command #ZikTIPS #CLI #Fedora #Ubuntu #Linux #Opensource@opensuse @fedora @debian systemctl cat [UNIT] e.g.systemctl cat sshd.service
- 💡Display the active WiFi connection using the following command in Linux #ZikTIPs #CLI #WiFi #Linux #Opensource@NetworkManager @opensuse @fedora @debian nmcli connection show –activeNOTE: Works on distributions that use #networkmanager
- 💡️On a Linux system, you can retrieve logging information for a specific service within a designated date range #ZikTIPS #CLI #Systemd #Linux #Opensource @fedora @opensuse journalctl -u [UNIT] -S [DATE-START] -U [DATE-END] e.g. journalctl -u sshd -S 2024-10-04 -U 2024-10-12
- 🚀✨ Exciting news for smart home enthusiasts! Jambula OS (version 2024.10.0) now supports Home Assistant Core installs & upgrades! 🎉 @jambula @home_assistant @raspberrypi ⚙️ Jambula OS is a custom Linux operating system 🐧 designed specifically for SoC devices like the Raspberry Pi 5⬇️ You can download it here: https://github.com/zikusooka/Jambula-OS/ #JambulaOS #RaspberryPi #HomeAssistant #SmartHome #Embedded #DIY #Linux #Opensource
- 💡And like others have mentioned: To quickly see if you are affected by this bug, use the following Linux command @fedora @opensuse @ubuntu systemctl status cups-browsedIf systemd unit is active, stop and disable as follows:sudo systemctl disable –now cups-browsed#ZikTIPs #Linux #opensource
- Attention Systems Administrators: A vulnerability (CVE-2024-47176 …) has been identified in the CUPS package used in various Linux systems. Please refer to the following link for the necessary remediation steps: https://www.evilsocket.net/2024/09/26/Attacking-UNIX-systems-via-CUPS-Part-I/ Also @redhat has a response on this and how to check if you are affected: https://www.redhat.com/en/blog/red-hat-response-openprinting-cups-vulnerabilities#evilsocket #vulnerability #Cups #Linux #Printing #Sysadmin #cybersecurity #Opensource
- 💡 Search for webcams on a Linux system using the following command line @fedora @opensuse #ZikTIPS #Linux #CLI #Multimedia #Video #Audio #Opensourcev4l2-ctl –list-devices
- Excited to share the latest update for Jambula OS, a custom tailored Linux operating system designed for SoC devices like the Raspberry Pi 5!@jambulatv @jambulaOS @michaelgraafhttps://github.com/zikusooka/Jambula-OS🚀 This update of Jambula OS (Version 2024.8) simplifies setup for:- 🌐 A wireless (WiFi) access point i.e. Internet Hotspot- 🔊 A multi-room music/audio server & client- 📺 A Free-To-Air DVB-T2 TV server- 📹 A USB webcam video streaming server#JambulaOS #Raspberrypi #DIY #Linux #Opensource
- 💡️ Display the actual target path of a symbolic link in Linux#ZikTIPs #CLI #Linux #Opensourcereadlink -f [LINK]
- A cheaper version of the Raspberry Pi 5 board is here! @jambulaOS #raspberrypi5 #DIY #embedded #Linuxhttps://www.raspberrypi.com/news/2gb-raspberry-pi-5-on-sale-now-at-50/
- 💡️Quickly change the bluetooth name advertised by your Linux device such as a raspberrypi @debian @opensuse @fedora bluetoothctl system-alias "NEW-NAME"#ZikTIPs #Bluetooth #Raspberrypi #Linux #Opensource
- 💡Remove or replace multiple occurrences of text with a similar pattern using the command line in Linuxsed /PATTERN*//g [FILE_PATH]Example:sed /systemd-network*//g /opt/my script.sh#ZikTIPs #SysAdmin #CLI #Linux #Opensource #opensourcesoftware
- INTRO: #Introduction #Fediverse #FediHire#Linux #MastodonI am Zik, the guy behind those Linux TIPs. I am passionate about open source software on Linux. I spend a great deal of time on the command line writing shell and python scripts. I am also a buildroot aficionado & maintain Jambula OS Linux.My core strength: Linux/UNIX server management. I am currently available for part time remote work if you need that type of support. Checkout my GitHub repositories at:https://github.com/zikusooka