Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Easily Understand Your Linux RAM Usage With Smem

    Linux memory usage can be difficult to interpret and hard to understand. With smem it’s easy to find out what memory a process is using, and which processes are using the most.

  • 5 scripts for getting started with the Nmap Scripting Engine | Enable Sysadmin

    Nmap is a popular tool for scanning and monitoring networks. There are many ways to find information using Nmap, from blogs and articles to formal training. Yet few of these learning tools discuss one of Nmap's most powerful features: The Nmap Scripting Engine (NSE).

    What is the NSE? This tool does two things. First, it allows the nmap command to accept options that specify scripted procedures as part of a scan. Second, it enables Nmap users to author and share scripts, which provides a robust and ever-evolving library of preconfigured scans.

  • Bash 02 – Variables and Such | Linux.org

    Within BASH, you can use variables. Variables are names that can represent specific information. If you remember your days in math, specifically some stage of algebra, you may recall variables. There were all the letters of the alphabet, mainly X and Y. In BASH, we can use variable names, not just letters.

    We will cover other topics to help manipulate the variables and even perform math functions. These can help you make better BASH Scripts that will calculate and manipulate data.

  • Different types of Backups

    In my previous post, I explained how I recently set up backups for my home server to be synced using Amazon's services. I received a (correct) comment on that by Iustin Pop which pointed out that while it is reasonably cheap to upload data into Amazon's offering, the reverse -- extracting data -- is not as cheap.

    He is right, in that extracting data from S3 Glacier Deep Archive costs over an order of magnitude more than it costs to store it there on a monthly basis -- in my case, I expect to have to pay somewhere in the vicinity of 300-400 USD for a full restore. However, I do not consider this to be a major problem, as these backups are only to fulfill the rarer of the two types of backups cases.

    There are two reasons why you should have backups.

    The first is the most common one: "oops, I shouldn't have deleted that file". This happens reasonably often; people will occasionally delete or edit a file that they did not mean to, and then they will want to recover their data. At my first job, a significant part of my job was to handle recovery requests from users who had accidentally deleted a file that they still needed.

  • Record your terminal session with Asciinema | Opensource.com

    Support calls are important and often satisfying in the end, but the act of clear communication can be arduous for everyone involved. If you've ever been on a support call, you've probably spent several minutes spelling out even the shortest commands and explaining in detail where the spaces and returns fall. While it's often easier to just seize control of a user's computer, that's not really the best way to educate. What you might try instead is sending a user a screen recording, but one that they can copy commands from and paste into their own terminal.

    Asciinema is an open source terminal session recorder. Similar to the script and scriptreplay commands, Asciinema records exactly what your terminal displays. It saves your "movie" recording to a text file and then replays it on demand. You can upload your movie to Asciinema.org and share them just as you would any other video on the internet, and you can even embed your movie into a webpage.

More in Tux Machines

Arduino Projects: Sun and Power Trackers

  • This sun tracker uses an Arduino to increase solar panel efficiency | Arduino Blog

    With the rapid pace of solar panel installations over the course of the previous decade, there has been an ongoing challenge of trying to improve their efficiency. Apart from the typical silicon crystal photovoltaic cells, there are also more efficient/expensive cells known as concentration photovoltaics (CPV), which rely on a set of mirrors to focus sunlight into a small multijunction cell. Although this technology reduces the size and material requirements, it also requires precise sun tracking for peak performance. Ruediger Loechenhoff has been able to create a far cheaper solar tracker controller, which relies on an Arduino Uno to drive a set of two motors that position the panel. To achieve this, the Uno was connected to a 9-axis MPU-9250 compass module for internal positioning, a DS3231 real-time clock for accurate timing, and a DIY shading beam sunlight sensor to detect optimal angles. Operating the tracker is also quite simple since the firmware only requires an occasional calibration step after a set number of days.

  • This Arduino device can anticipate power outages with tinyML | Arduino Blog

    Our reliance on electronic devices and appliances has never been higher, so when the power goes out, it can quickly become an unpleasant and inconvenient situation, especially for those who are unable to prepare in time. To help combat this problem, Roni Bandini has devised a device he calls “EdenOff,” which is placed inside an electrical outlet and utilizes machine learning at the edge to intelligently predict when an outage might occur. Developed with the use of Edge Impulse, Bandini began by creating a realistic dataset that consisted of three columns that pertain to different aspects of an outlet: its voltage, the ambient temperature, and how long the service has been working correctly. After training a model based on one dataset for regular service and the other for a failure, his model achieved an excellent F-1 score of .96, indicating that the model can forecast when an outage might take place with a high degree of accuracy.

LibreOffice and More

  • LibreOffice at the Univention Summit 2022

    After two years of pandemic restrictions, more and more in-person events are now taking place. Members of the LibreOffice community attended the recent Univention Summit 2022 in Bremen, northern Germany. They had a stand with LibreOffice merchandise, talked to visitors and answered questions.

  • May 2022, Month of LibreOffice Awards

    In May 2022, LibreOffice has received two Awards: SourceForge’s Open Source Project of the Month, and Software Informer’s Editor’s Pick.

  • Do While – Loop Example in Python | Mark Ai Code

    Loops are an important and widely utilized element in all current programming languages. A loop is the finest solution for automating a certain repeated operation or preventing yourself from writing repetitive code in your projects. Loops are sequences of instructions that are executed repeatedly until a condition is fulfilled. Let’s take a closer look at how Python loops function.

Proprietary Software and Microsoft Proxies

  • Patch now: Zoom chat messages can infect PCs, Macs, phones with malware

    Zoom has fixed a security flaw in its video-conferencing software that a miscreant could exploit with chat messages to potentially execute malicious code on a victim's device. The bug, tracked as CVE-2022-22787, received a CVSS severity score of 5.9 out of 10, making it a medium-severity vulnerability. It affects Zoom Client for Meetings running on Android, iOS, Linux, macOS and Windows systems before version 5.10.0, and users should download the latest version of the software to protect against this arbitrary remote-code-execution vulnerability. The upshot is that someone who can send you chat messages could cause your vulnerable Zoom client app to install malicious code, such as malware and spyware, from an arbitrary server. Exploiting this is a bit involved, so crooks may not jump on it, but you should still update your app.

  • SAP attracts further criticism for Russia presence, despite promise to leave

    A Ukrainian minister has accused software giant SAP of continuing to operate in Russia despite the German vendor previously vowing to withdraw from the aggressor nation. In the months following Russia's invasion of Ukraine, SAP attracted criticism as it continued to support installations of its software in Russia and cloud services used by Russian businesses, including state-owned bank Sberbank.

  • OpenLogic by Perforce: Why we support OSI [Ed: OSI boasts about being controlled by Microsofters]
  • OpenLogic by Perforce Announces Sponsorship of Rocky Enterprise Software Foundation [Ed: Microsoft proxy lays its hands on Rocky after it ran away from Microsoft]

Videos: Steam Deck, LinuxFX, Brave Beta on Debian 11, and Destination Linux 279