Category: FreeBSD

How to use df command in Linux / Unix {with examples}

We use the df command to find total disk space and available space on a Linux / Unix file system. Let us see how to use the df command to view the amount of free space left on your Linux, macOS, *BSD and Unix file system. We will also explain how to automate disk space monitoring and send an email alert or push notification to your mobile device.

Source: How to use df command in Linux / Unix {with examples} – nixCraft

How to check the bash shell script is being run by root user or not

Explains how to check if a bash shell script is being run or executed by the root user account under Linux, macOS, Unix and BSD.

Source: How to check the bash shell script is being run by root user or not – nixCraft

What Is GREP and How Do You Use It?

Grep is a small Unix program for finding matching patterns. Begun as a Unix program, it can be found on Linux as well as Mac and BSD. It can read just about any text, meaning it can read input from another commands, or it can open and look through files directly. Grep is insanely useful, especially for looking through directories from the command line.

Source: What Is GREP and How Do You Use It? – Make Tech Easier

How To FreeNAS Install And Configure APC UPS For Power Management

How To FreeNAS Install And Configure APC UPS For Power Management

Source: How To FreeNAS Install And Configure APC UPS For Power Management (nixCraft)

Link: Monitorix – An Open Source, Lightweight System Monitoring Tool For Linux

Monitorix is a free, Open Source monitoring tool that can be used to monitor as many services and system resources as possible. Unlike other monitoring tools, it is very simple to install, configure and monitor the systems. Initially, it was developed to support only the RPM based systems such as Red Hat, CentOS etc., but, later it is expanded its support to other distributions like Debian/Ubuntu, and BSD systems such as FreeBSD, NetBSD, and OpenBSD.

Full article here:
Monitorix – An Open Source, Lightweight System Monitoring Tool For Linux (Unixmen)

Link: 8 Tips to Solve Linux & Unix Systems Hard Disk Problems Like Disk Full Or Can’t Write to the Disk

Can’t write to the hard disk on a Linux or Unix-like systems? Want to diagnose corrupt disk issues on a server? Want to find out why you are getting “disk full” messages on screen? Want to learn how to solve full/corrupt and failed disk issues. Try these eight tips to diagnose a Linux and Unix server hard disk drive problems.

Full article here:
8 Tips to Solve Linux & Unix Systems Hard Disk Problems Like Disk Full Or Can’t Write to the Disk (nixCraft)

Link: BASIC programming with Gambas for the beginner programmer

Scratch is a great tool for teaching programming to young children, but what happens when kids outgrow Scratch? Among Raspberry Pi aficionados, the typical answer is to advance to using Python, which is an excellent choice. However, in honor of the 50th birthday of BASIC, I would like to suggest another programming environment: Gambas.

We would just add that BASIC is an underrated and under-appreciated programming language, that often can be easily understood and utilized by people who just don’t seem to “get” regular programming languages. Also, if you just need a small program to do some specific task, in many cases it is much faster and easier to code it in BASIC than in any other language. One of the strengths of BASIC is that the keywords are more mnemonic, therefore it is a better choice for people who have poor memories, and who therefore spend more time looking up the syntax of statements in other languages than doing actual programming.

Some “purists” object to BASIC for various reasons (usually spouting some nonsense about how it encourages bad coding habits, or some similarly nebulous objection) but we think the real truth of the matter is that they have done everything they can to try to bury a language that is so easy to use that almost anyone can program in it. If you are a “professional” programmer, or a teacher of computer programming, you don’t want to make it too easy for the hoi polloi to write programs, because if they can, your services might not be needed anymore!

So if you don’t already have a preferred programming language, and you’re not seeking employment as a professional programmer (or just want to get your feet wet in programming), and you’re running Linux or BSD, give Gambas a try – you might like it!

Full article here:
BASIC programming with Gambas for the beginner programmer (opensource.com)
Raspberry Pi users, also see this thread:
GAMBAS(basic) (Raspberry Pi)

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez