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

Image may be NSFW.
Clik here to view.

Remove/Delete Files/Directories in Linux with rm

This article will outline how to delete files and directories in Linux with the rm command and give example usage. The rm Command in Linux Files and directories can be deleted from the shell/command...

View Article


Image may be NSFW.
Clik here to view.

Python Matrix (2D Array, NumPy), With Examples

This article will explain what a matrix is and how to use them in the Python Programming Language with the NumPy library. What is a Matrix In mathematics and computer programming, a matrix is a...

View Article


Image may be NSFW.
Clik here to view.

Segregating Devices and Networks in OpenWrt [Tutorial]

This article will show you how to keep your devices separate on your OpenWRT managed network and follows the steps taken to set up a basic WiFi network covered here. Why would you want to keep your...

View Article

Image may be NSFW.
Clik here to view.

OpenWRT: Secure DNS over TLS with LuCI [No Command Line]

This article will show you a quick and clean way of getting secure DNS over TLS running on OpenWRT – without resorting to the command line. If follows on from our other OpenWrt Articles. We’ll be using...

View Article

Image may be NSFW.
Clik here to view.

OpenWrt: Set up a Basic Network Including WiFi Bridge, IP Address, DHCP

This article will show you how to configure a basic network with WiFi Bridging, DHCP on a fresh install of OpenWrt – with explanations and screenshots. This guide follows on from LinuxScrew’s guide to...

View Article


Image may be NSFW.
Clik here to view.

Bash Aliases – What They Are and How To Use Them

If you live in the Linux Shell/Terminal, aliases are a massive timesaver. Here’s how to create your own Bash aliases, with examples. What is an Alias in Bash/Linux Shell? An alias is a shortcut to a...

View Article

Image may be NSFW.
Clik here to view.

Delete Files Older Than X Days/Hours in Bash [Examples]

This article will show you how to delete files older than a given number of days (or hours/minutes) manually or automatically via a Bash script. Examples included. Removing files older than a certain...

View Article

Image may be NSFW.
Clik here to view.

JavaScript vs Java – What’s the Difference Which to Use in 2021?

Here’s a clear article on what makes Java and JavaScript different – and some information to help you make the choice on which to learn and use for your projects in 2021. First up, it’s important to...

View Article


Image may be NSFW.
Clik here to view.

JavaScript onclick() Events – Tutorial, With Examples

JavaScript adds interactivity to web pages. This article shows you how to trigger JavaScript functions when an HTML element is clicked using onclick() events and attributes. Code examples included....

View Article


Image may be NSFW.
Clik here to view.

Converting a List to a String (and Back!) in Python [Examples]

This article will show you how to convert lists to a string in the Python programming language. Why would you want to convert a list to a string? Most commonly, because you want to print it or because...

View Article

Image may be NSFW.
Clik here to view.

Multidimensional Arrays in PHP – How To Use, With Examples

This article will show you how to use multidimensional arrays in the PHP programming language, explaining what they are and how to use them. What is an Array? An array is a type of PHP variable that...

View Article

Image may be NSFW.
Clik here to view.

The uniq Command In Linux – Tutorial and Examples

This article will explain how to use the uniq command in Linux to find or filter repeated lines in files and provide some usage examples. The uniq command is a simple command which either outputs or...

View Article

Image may be NSFW.
Clik here to view.

Linked Lists in Python – How to Use Them, With Examples

This article will explain in simple terms what linked lists are, why they’re useful, and how to use them in the Python programming language. Lists In Python, a list is an array of data – a simple list...

View Article


Image may be NSFW.
Clik here to view.

tee Command in Linux – Split Shell Output [Examples]

The tee command in the Linux Shell/command line splits the output of an application – sending output to both a file and STDOUT (the console or another application). Here’s how to use it. The tee...

View Article

Image may be NSFW.
Clik here to view.

List Running Processes in Linux with ps, top, or htop

This article will show you how to list running processes in Linux using several tools. This will allow you to see what is running and how your system resources are being consumed. It’s helpful to see...

View Article


Image may be NSFW.
Clik here to view.

How to Get CPU Information on Linux, With Examples

Here’s how to display the CPU info for your computer on Linux from the Linux command line. The CPU (Central Processing Unit) in your computer does all of the number crunching and processing and logic...

View Article

Image may be NSFW.
Clik here to view.

Refresh or Redirect a Page using PHP, With Examples

This article will show you how to refresh a web page in the browser using the PHP programming language. It’s sometimes necessary to set a page to reload automatically, usually at some interval, to keep...

View Article


Image may be NSFW.
Clik here to view.

JavaScript instanceof Operator – What it Does, How to Use It

This article will explain what the JavaScript instanceof operator does and how it can be used. Examples provided. What does instanceof do? The instanceof operator returns TRUE or FALSE depending on...

View Article

Image may be NSFW.
Clik here to view.

How To Compare Arrays in JavaScript, With Examples

This article will show you how to compare arrays in JavaScript and provides some ready-to-use functions to do so. We’ve already covered a bit on how to use arrays in JavaScript: Looping over Array...

View Article

Image may be NSFW.
Clik here to view.

Linux vs Windows – The Practical Differences in 2021

Are you a Windows user looking for reasons to give Linux a go? This article explores why you might make Linux your operating system of choice over Windows. Or the opposite, if you’re into that sort of...

View Article
Browsing all 314 articles
Browse latest View live