Skip to content
Servers and Linux2 min read

What is Linux?

Short answer

Linux is an open-source operating system built on a kernel Linus Torvalds started in 1991, shipped in distributions such as Ubuntu, Debian, AlmaLinux and CloudLinux. Most web and hosting servers run it because it's stable, free and well suited to PHP, MySQL, Node.js and Python.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Core concepts
  2. Commands you’ll use often
  3. Common mistakes when coming from Windows
  4. On ArabyHost

When you open a website, the server answering you is most likely running Linux. Servers don’t need a graphical desktop, so they’re usually managed with text commands over SSH or through a control panel such as cPanel.

Core concepts

  • Kernel and distribution: the kernel is the core of the system; a distribution bundles it with tools and a package manager. Ubuntu and Debian use apt; AlmaLinux and CloudLinux use dnf.
  • Everything is a file: settings, logs and even devices appear as files in a tree that starts at /.
  • Users and permissions: every file has an owner and read, write and execute permissions. The root user can do anything.
  • Case matters: Image.jpg and image.jpg are different files.

Commands you’ll use often

Command What it does Example
pwd Shows the current folder pwd
ls -la Lists files with permissions ls -la public_html
cd Changes folder cd ~/public_html
cp, mv, rm Copy, move, delete cp .htaccess .htaccess.bak
tail -f Follows a log file live tail -f error_log
chmod Changes permissions chmod 644 index.php
du -sh Shows a folder’s size du -sh ~/public_html

A practical example: the site breaks after an edit. Watch the error log live while you reload the page:

cd ~/public_html
tail -f error_log

The error appears, with file and line number, the moment it happens; press Ctrl+C to stop following.

Common mistakes when coming from Windows

  • File names with different letter case between the code and the real file, causing 404 errors.
  • Line endings: a script written on Windows can fail because of \r; save it with LF endings.
  • Trying sudo on shared hosting: it won’t work, because it needs root access.

On ArabyHost

ArabyHost servers run CloudLinux, with each account isolated in CageFS and given its own resource limits. AI/Developer plans include jailed SSH for running commands, Git, Composer, Node.js and Python, without root access. On other plans you manage files with the cPanel File Manager. Start with the SSH access guide.

FAQ

Do I need Linux on my computer to host a site on it?

No. You can work from Windows or macOS and upload files through the control panel or Git. A few commands only help if your plan includes SSH.

What's the difference between Linux and Windows hosting?

Linux hosting suits PHP, WordPress, Laravel, Node.js and Python, and is by far the most common. Windows hosting is mostly needed for older ASP.NET apps built on the .NET Framework.

Why does my site work locally but give 404s on the server?

Usually letter case: Linux treats Logo.png and logo.png as different files, while Windows ignores the difference. Make file names and links match exactly.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.