Quantcast
Channel: Linux Guides, Tips and Tutorials | LinuxScrew
Browsing all 314 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

GB Studio Linux Mini Review + Screenshots

GB Studio is an easy to use game development tool that lets you make make games in a simple drag-and-drop interface.  Here’s a short review including screenshots of GB Studio running in Linux. In this...

View Article


Image may be NSFW.
Clik here to view.

KDE Neon Linux Mini Review 2022 + Screenshots

This review will show you what KDE Plasma 5 and KDE Neon look like in 2022, from installation to the desktop, and provide some thoughts on usability and how it stacks up against other GUIs like Gnome...

View Article


How to Use while Loops in Bash/Shell Scripts [Examples]

This article will show you how to use while loops in Bash/Shell scripts, and provides some code examples. Bash scripts let you automate tasks in the linux shell. Often, you’ll want to repeat a task for...

View Article

How to use the Python sum() Function to Add/Sum Numbers

The Python sum() function takes a list of numbers, and sums them up (totals/adds them all together). Here’s how to use it, with examples. Summing/Totalling/Adding Numbers The concept of summing numbers...

View Article

How to Use the Bash echo Command, With Examples

The Bash echo command serves a simple purpose – it outputs (echos) text. Here’s how to use it, with examples. echo Command Syntax The echo command is very simple and has the following syntax: echo...

View Article


How to Use Nested For Loops in JavaScript, with Examples

This article will quickly explain nested for loops in JavaScript, how they are used with multidimensional arrays, and show some examples. For Loops We’ve already covered for loops – check out our...

View Article

How to Sort a Dictionary by Value in Python [Examples]

This article will show you how to sort a dictionary by the values it contains in the Python programming language. Code examples are included. What is a Dictionary? A dictionary is one of Pythons built...

View Article

JavaScript for Loops – How to Use Them [Examples]

This article will show you how to use the simplest JavaScript loop – the for loop, and provide code examples. JavaScript for Loops JavaScript’s for loops are used to execute a block of code repeatedly...

View Article


Python setAttr() – What it Does and How to Use It [Examples]

The setattr() function is used to set the value of an attribute of an object. Here is how it is used, with examples. Python Objects and Classes Python is an object oriented programming language. Object...

View Article


Use wc to Count the Characters/Words/Lines [Linux/Bash]

The wc program can be used in Bash scripts and from the Linux command line to count the number of bytes, characters, words, or lines in a file. Here’s how to use it, with examples. wc Program Syntax...

View Article

How to Read CSV Files in Python, With Examples

This article will show you how to read CSV (Comma Separated Values) files in the Python programming language, with examples. What is CSV (Comma Separated Values) CSV (Comma Separated Values) is a...

View Article

How to Run an SQL File in MySQL (or MariaDB) on Linux/Ubuntu

Here is an article outlining several methods for running SQL files in MySQL on Linux/Ubuntu. Whether you’re installing a package, following a tutorial, or restoring a backup – it’s useful to be able to...

View Article

Printing Text in Python Without a Newline

This short tutorial will show you how to print text in Python, without a new line appearing. The Newline Character in Python In Python, newlines are represented by a \ (backslash) followed by n: \n You...

View Article


Bash Split String (+ Shell Scripts)

This article will show you how to split a string at a given delimiter in Bash/Shell scripts and show some examples. Splitting strings is a handy function to have available when crafting your scripts....

View Article

LibreNMS: What is it and how does it work?

This article covers the LibreNMS network monitoring tool, from installation and configuration to features and usage. Introduction to LibreNMS LibreNMS is a powerful open-source network monitoring...

View Article


How to Import a CSV File to PostgreSQL

This tutorial will show you how to import data from a CSV file into a PostgreSQL database table. What is a CSV File A CSV (Comma Separated Values) file is a text file that contains tabulated...

View Article

How to Export and Back Up PostgreSQL Databases

This tutorial will show you how to export, import, and back up your PostgreSQL clusters and databases. You should regularly back up. It’s one of the most important things you can do as a sysadmin,...

View Article


Checking for Equality (And Inequality) in JavaScript, with Examples

This article will explain equality and inequality in the JavaScript Programming language, and provide code examples showing how to check if values are equal in value and type. Checking whether two...

View Article

Image may be NSFW.
Clik here to view.

How to Build a Raspberry Pi Internet Kiosk

This tutorial will show you how to build an internet kiosk using a Raspberry Pi and FullPageOS. It can also be used as digital signage! Internet kiosks are useful when you want to allow your customers...

View Article

How to Switch Active Cluster / Change Port in PostgreSQL in Linux

This article will demonstrate how to list the PostgreSQL clusters on your Linux system, and how to switch the active cluster. PostgreSQL is one of the most popular relation database servers. Multiple...

View Article
Browsing all 314 articles
Browse latest View live