Welcome to LinuxScrew

A site for Linux lovers worldwide. For newbies, system engineers, administrators, and everybody in between. We cover all things Linux, plus various programming languages, including Python, Javascript, and PHP.

View our featured tutorials and projects in the slider below or scroll down to see all recent articles.

How to Convert a USB Printer to Wireless with a Raspberry Pi
How to Use a Raspberry Pi for Digital Signage
The Worst Things You’ll Probably Google As a Programmer on Linux
How to Build a Raspberry Pi Internet Kiosk
Browsing the Internet on a 1989 Macintosh II with a Web Rendering Proxy
previous arrow
next arrow
Slider

fsck to Repair Linux File System Errors [4 Commmon Examples]

fsck to Repair Linux File System Errors

Modern computers are incredibly reliable, but things can still go wrong – and the worst thing that can usually go wrong is losing your data – be it important work or your precious photos. Alongside a robust backup system, fsck (File System cheCK) is probably the most important tool you can have on hand to prevent data loss. This tutorial explains how to use fsck to repair file system errors in Linux and takes you through four common examples. fsck verifies the integrity and repairs errors … Read more

How to Create Linux Symlinks Using the ln Command

Create Linux Symlinks Using the ln Command

This tutorial explains how to create symlinks (symbolic links), also know as “Soft Links,” in Linux using the ln command. If you’re coming to Linux from a background using the Windows operating system, you’ll be familiar with the concept of shortcuts – files that don’t contain any real data and contain a link to the actual file or folder you wish to access. They may exist simply for your convenience (to save time clicking through nested folders) or to redirect the output (You have a … Read more

Calculating IP Addresses and Subnets – A Reference

Calculating IP Addresses and Subnets

This article aims to familiarise you with IP addresses and subnets and the calculations involved when setting them up. It’s a big topic, so this article will try to stay focused on its practical side to help get you on the right track and subnetting your home network with ease. Networking and Subnets Let’s skip the analogies and break it straight down: An IP address contains two components the network address describing the network and the host address describing the host on the network. Networks can be … Read more

How to Install Ubuntu Desktop [Beginner’s Guide With Screenshots]

How to Install Ubuntu Desktop

This beginner’s guide takes you through the process of how how to download and install Linux Ubuntu Desktop. Ubuntu remains one of the most popular and easy to use Linux distributions. It provides a fantastic platform to dip your toes into networking and programming. It has also become an effective Operating System to use as your daily driver, with full-featured desktop office and media tools. Here’s how to install it. Download The Disk Image Head on over to https://ubuntu.com …in your favorite web browser and hit … Read more

Linux rsync Command, Syntax and Examples [Guide]

Linux rsync Command

The rsync (remote synchronization) command is a file copy tool that can synchronize files across local storage disks as well as over a network. It’s prevalent because it’s very good. It is commonly used for backing up files, keeping file servers up-to-date with each other, and for deploying code and assets for web apps to servers. rsync can and will copy just about every file it can see and will synchronize based on file size and modification date to see what’s changed and what needs to be updated. … Read more

How to Easily Check if a Network Port is Open in Linux

Check if a Network Port is Open in Linux

When your computer acts as a server, such as a web server or a database server, that server process must listen on a port that other computers connect to. It’s useful to be able to find out what ports are open on your Linux server should you want to connect to one of the services being served – and it’s also useful to be able to check what ports are open so that you can make sure that you aren’t sharing something you don’t intend to. … Read more

STOP Using the Linux ifconfig Command [Here’s Why]

ip command

The ifconfig command is obsolete, and you should no longer use it! This tutorial covers the ip command, which you should use in place of ifconfig. Here’s how to use the ip command instead. The ip command can do a bunch of other stuff as well, but we’ll focus on how it replaces the ifconfig command. To see the full manual for the command, type the following into your terminal: man ip Using the ip Command Instead of ifconfig Let’s look at two ip commands – ip addr focuses on addresses and ip link on network interfaces. IP … Read more

How to Update Ubuntu Linux [Server and Desktop]

Update Ubuntu Linux

If you’re running Ubuntu Linux on your desktop, you’ll be regularly prompted to update using the built-in update tool. But what if you’re on Ubuntu Server or want to check for and run any pending updates manually? This tutorial covers the steps required to update your Ubuntu Linux OS on Desktop and Server. But first, some relevant articles: apt vs. apt-get Commands – What’s the Difference? Checking Your Operating System Version in Ubuntu Linux with ‘lsb_release.’ Preamble All package management functions should be run using the sudo … Read more

What Is chmod 777 and What Does It Do in Linux?

What Is chmod 777

This article explores chmod 777, a Linux command used to give ALL RIGHTS to the user, group, and others. As a new Linux user, web developer, or system administrator, you have probably been instructed to type: chmod 777 /path/to/file/or/folder …into your Linux shell at some point. Whenever you’re running commands on your systems (especially as root!), you should ALWAYS know what they’re up to. So what’s chmod 777 really about? Permissions in Linux Above is an example of running the: ls -l command, which will list the current directory contents in … Read more

Using the SCP Command to Securely Copy Files [Examples]

Using the SCP Command

SCP or Secure Copy securely transfers files between two hosts over the network using the SSH protocol. This tutorial explains how to use this popular command with numerous examples. SCP is pre-installed with most Linux distributions and is often used for deploying software to servers and backing up – frequently automated using Bash Scripts. SCP Command Syntax scp OPTIONS SOURCE … TARGET SCP has a lot of options that are outlined on the commands manual, available by running: man scp Here’s a summary of the most commonly used options from the … Read more