🐍 Having fun mixing Python and Podman! I’ve been playing around with using Python scripts to interact with Podman containers listing running containers, checking their resource usage, and even starting or stopping them automatically. I love how these tools fit into real sysadmin life: one moment you’re managing services on RHEL, the next you’re scripting container maintenance from the terminal. It’s that perfect mix of automation and control that makes Linux work so satisfying. 🐧 #Linux #Python #Podman #Automation #DevOps #SysAdmin #RedHat #Containers #Scripting #RHCSA #Learning
More Relevant Posts
-
💡 Python + Ubuntu = Automation Powerhouse I’ve been using Python scripts on Ubuntu to automate everyday system tasks — from log cleanup and data backups to monitoring services. Some of my go-to tools and modules: • subprocess → run shell commands • os and pathlib → manage files & directories • crontab → schedule jobs • psutil → monitor system performance It’s amazing how much efficiency you can achieve with just a few lines of Python code. Anyone else here using Python for Linux automation? Would love to exchange ideas! #Python #Ubuntu #Automation #Linux #Scripting #DevCommunity
To view or add a comment, sign in
-
Rust Container Runtime (Bento) Update #5 Bento now has a working CLI for creating and running isolated containers. The -m flag mounts a host directory into the container - in this case, a simple Python app that prints "Hello World" when executed inside the isolated environment. Current features: ✅ Container creation from Docker images ✅ Status tracking ✅ Container isolation (namespaces, overlayfs) ✅ Host directory mounting Still building: Full lifecycle management (stop, exec), Image pulling from registries, Resource cleanup Working toward a public release. More updates coming. #Rust #Containers #SystemsProgramming #SoftwareEngineering #DevContainers #Linux
To view or add a comment, sign in
-
-
Ever wished your Linux terminal could do exactly what you want? Well, it can — with a little help from Python. 🐍💻 I just published a new blog where I show how to turn a simple Python script into a fully functional Linux command — one that works just like ls or grep. No heavy dependencies. No complex setup. Just pure Python + Linux power. ⚙️ If you love coding, automation, or just enjoy bending your terminal to your will — this one’s for you. 👉 Read it here: [https://lnkd.in/gPN-DbFi] #Python #Linux #Automation #Coding #Developers #Productivity #CommandLine #TechCommunity #Trading #AlgoTrading #Quant #DataScience #DevOps #Developers #CommandLine #Coding #WorkflowAutomation #OpenSource #TechInnovation
To view or add a comment, sign in
-
func-validator v1.3.0 feature highlight: Custom Error Message Validator classes provided by the func-validator Python package can accept custom error messages via the err_msg argument, which will be shown if an invalid argument value is provided. Custom error messages also let you interpolate argument names and values into the message. This can be done via the following syntax: “${arg_name}, ${arg_value}” Check the attached image below to see how to use custom error messages. You can install func-validator using the following command: pip install func-validator or pip3 install func-validator on Unix (or Linux) systems. Stay up to date with the latest “func-validator” features, tips, and updates—follow me now so you never miss an announcement! Links PyPI: https://lnkd.in/ez9h2QZy GitHub: https://lnkd.in/esHVSSt8 Docs: https://lnkd.in/eG_DTegq #Python #OpenSource #DevTools #CodeQuality #Programming #GitHub #MATLAB
To view or add a comment, sign in
-
-
One of my first Python Linux apps with the help of Cursor. A handy little tool to work with Gitea repos, push, pull, create ssh keys, work with API etc. You can download it at the Github link below for free (open source of course). https://lnkd.in/ecMtaUic
To view or add a comment, sign in
-
-
I just created a Linux System Call Table for easy reference — a simple Markdown reference listing syscall numbers, names, descriptions, and prototypes for x86_64 Linux. I hope it’ll also be helpful for developers, system programmers, and learners who want to explore and understand how Linux system calls are structured. I’ve also included the Python script that lets you generate or update the table directly from your own system — so it stays up to date across kernel versions. 👉 Check it out and feel free to contribute: https://lnkd.in/dHan2dVM #Linux #OpenSource #Syscalls #Programming #Python #Documentation
To view or add a comment, sign in
-
🚨 Still using os.path for file handling in Python? Then you’re missing one of the cleanest upgrades Python ever made — Pathlib. I remember when I first learned to manage file paths with os.path.join(). It worked… but it always felt clunky. Here’s what stood out: ✅ No more messy string concatenations. ✅ Object-oriented syntax makes paths feel natural. ✅ Works seamlessly across Windows, macOS, and Linux. ✅ Cleaner, readable, future-proof code. Example 👇 from pathlib import Path p = Path.home() / "Documents" / "report.txt" print(p.exists()) Readable, elegant, and cross-platform — exactly how Python should be. If you haven’t tried it yet, it’s time. Trust me — once you switch, you’ll never go back to os.path. 👉 Have you started using Pathlib in your projects? What’s your favorite function? #Python #Pathlib #CoreySchafer #ProgrammingTips #CodeCleanliness #PythonDevelopers #Automation #CodingLife #DataEngineering #LearnPython
To view or add a comment, sign in
-
Python in 60 Seconds: Cross-Platform Development One of Python’s biggest superpowers? It's able to run everywhere. From Windows to macOS, Linux to Android, and even embedded systems, Python empowers developers to build once and deploy across multiple platforms with minimal friction. If you’re crafting a desktop app with PyQt or Kivy, developing APIs with FastAPI, or packaging scripts using PyInstaller, Python removes the platform barriers that slow down traditional development. Here’s the beauty: ✅ Same codebase, different environments ✅ Simple libraries for platform detection and file management ✅ A thriving ecosystem of tools for UI, automation, and packaging Cross-platform development isn’t just convenient, it’s efficient, scalable, and cost-friendly. Python gives you the freedom to focus on logic and performance instead of wrestling with compatibility headaches. So next time you think about developing for multiple operating systems, remember: Python’s already ready for that. 😉 #Python #SoftwareDevelopment #PythonDevelopment #CrossPlatform #FastAPI #PyQt #Kivy #Programming #ConfigrTechnologies #60Seconds
To view or add a comment, sign in
-
-
The posts that illustrate how to use bash and Python to search .pcaps for DIDs used tskark, which needs to be installed on your Linux system. For those without tshark installed, you can easily use tcpdump as an alternative. You will need to combine tcpdump with grep, which will achieve similar results as using tshark -Y. tcpdump -r <file> -A 'udp port 5060' | grep -i '<phoneNumber>' See if you can incorporate the above command into the scripts I previously posted.
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development