Language Selection

English French German Italian Portuguese Spanish

Programming: Bash and Python

Filed under
Development
  • Introduction to Bash Scripting Tutorial

    Linux Shell Scripting is & always has been one of the most desired skills that a System Administrator and now DevOps engineers are required to have. It has been used by Linux experts to perform all sorts of tasks, especially repetitive tasks or for automating tasks.

    Consider this post as the central reference point for all Scripting tutorials published here at The Linux GURUS. This scripting tutorial just provides a brief about scripting & why we require it. Mentioned below is the list of all tutorials to get yourself started with & master it.

  • Bash scripting – Understanding Linux Environment variablesBash scripting – Understanding Linux Environment variables
  • Bash Scripting-2- Using VARIABLES in Linux shell scripts
  • Bash scripting – 3 – Performing Arithmetic Operation in shell script
  • Python for Beginners: Making Your First Socket Program (Client & Server Communication)

    Sockets in Python have always been something I see online and thing "Why is this complex"? "Shouldn't there be a simple way to get started with sockets"? So I decided to make a tutorial myself: However, just like everything in coding, there can be varying levels of compelxity and different implementations for the same tech. Today we are going to look at one simple example for beginners that can help you dive into the vast world of sockets and Python as a whole.

  • Small python application which will remove duplicate files from the windows 10 os [Ed: Windows sadly]

    I am glad to inform you all that the remove duplicate file project written with python has finally completed and now it will be uploaded to GitHub for your all to enjoy. This is free software and it will always remain free. Although I would really love to create a Linux version of this remove duplicate file’s software, but I do not have a Linux os’s computer therefore at the moment this software is just for the windows user only. I have packed this software up where you can just download the setup.exe file and then install the program and start it up to search and destroy the duplicate files inside your computer. Here are the steps you need to do to search and destroy the duplicate files:

  • PyDev of the Week: Tyler Reddy

    This week we welcome Tyler Reddy (@Tyler_Reddy) as our PyDev of the Week! Tyler is a core developer of Scipy and Numpy. He has also worked on the MDAnalysis library, which is for particle physics simulation analysis.

    [...]

    I grew up in Dartmouth, Nova Scotia, Canada and stayed there until my late twenties. My Bachelor and PhD degrees were both in biochemistry, focused on structural biology. I did travel a lot for chess, winning a few notable tournaments in my early teen years and achieving a master rating in Canada by my late teens. Dartmouth is also known as the “City of Lakes,” and I grew up paddling on the nearby Lake Banook. In the cold Canadian Winter the lake would freeze over and training would switch to a routine including distance running—this is where my biggest “hobby” really took off. I still run about 11 miles daily in the early morning.

    I did an almost six year post-doc in Oxford, United Kingdom. I had started to realize during my PhD that my skill set was better suited to computational work than work on the lab bench. Formally, I was still a biol- ogist while at Oxford, but it was becoming clear that my contributions were starting to look a lot more like applied computer science and computational geometry in particular. I was recruited to Los Alamos National Labora- tory to work on viruses (the kind that make a person, not computer, sick), but ultimately my job has evolved into applied computer scientist here, and nothing beats distance running in beautiful Santa Fe, NM.

  • Started work on getting py-spy/speedscope in RunSnakeRun

    So having finally written down the thoughts on a carbon tax, that kept distracting me from actually working on Open Source, I finally got a bit of work done on Open Source on the last night of the vacation.
    What I started work on was getting a sampling profiler format supported, and for that I chose py-spy, particularly its speedscope export format. The work is still early days, but it does seem to work in my initial test cases.

  • 5 Best Text Editors for Programmers [Ed: Too much Microsoft promotion here; some Windows-only editors and 40% of them Microsoft-controlled. This is ridiculous.]

    Need a Text editor for programming? These 5 will have you covered. They are the best text editors in 2019. Programming can be a breeze with a high quality text editor, with syntax highlighting, code completion and other modern technological features to improve your coding standards. Let’s check out the best text editor for programmers.

  • Top 3 Best Python Books You Should Read in 2019

    We have reviewed the top 3 best Python programming books in 2019. Python is one of the most commonly used programming languages in today’s developing world. These books provide quality content for you to upgrade your python skills to the next level. These books are great for anyone with an interest in Python programming.

    [...]

    Python is one the best programming languages for a myriad of industries. It’s considered a very powerful language, providing the power to build applications quickly. Take your Python knowledge to the next level with these books.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.