How to Check Your Server for Bash Shellshock Vulnerability

The hosting world has been hit with yet another highly publicized server vulnerability. This one affects the ubiquitous shell program GNU Bash and is referred to as Shellshock. Most Linux, BSD and Mac OS X operating systems and variants use Bash or derivatives of it. All Bash versions between versions 1.14 and 4.3 are […]

Write a Basic Bash Script to Simplify Server Operations

Linux comes with a very powerful tool built into it. It is called the shell. Bash is one version of the shell that is very popular with Linux distributions. If you can learn even basic Bash scripting, you can simplify and automate a lot of tasks you would normally have to manually perform on your […]

How to Run More Than One Bash Command at Once

One of the things that makes Linux servers so powerful is Bash and shell systems similar to it. You can use it to run complex scripts, execute multiple commands, and automate processes. If you ever want to execute multiple commands with bash, there are a couple of easy ways to make it happen.
One method is […]

3 More Differences Between Linux and BSD

In the first post on this topic, we looked at 3 key differences between Linux and BSD: the licensing, the kernel, and the package management system. The following are three more differences you should probably know.
1. Hardware support – In many cases Linux supports hardware sooner and more often than BSD. This is partly […]

Quick Bash Command Tricks Part 2

In the first part of this guide, we looked at some bash tricks that help you find things in the command history. In this section of the BASH (Born Again Shell) guide, we will look at some other functions.
Suffix command history
In the last post, we explained how to append the prefix from the previous command. […]

Quick Bash Command Tricks

Bash is the common shell environment used on Linux servers. If you manage a server, there is a good chance you will need to drop to the command line at some point and encounter Bash or one of its alternatives. The following are some basic commands that can help speed up your bash experience.
Reload […]

How to Manage Users in Webmin

On a dedicated server, managing users does not have to be a difficult affair. While the command-line tools are not overly complicated, you may at times want to use a graphical interface or run batch user operations. Webmin’s “Users and Groups” module may be exactly what you need.
You can find the Users and Groups module […]

A Basic Guide to SSH Server Connections: Part 2

Connecting to an SSH server is usually pretty straightforward, and your login credentials are encrypted for security. This makes SSH useful for other types of connections beyond basic shell access. Backup/syncing tools like rsync can use it, and file transfer programs like SCP for SFTP can use SSH technology for secure file transfers.
In part one, […]

A Basic Guide to SSH Server Connections: Part 1

Many system administrators have taken a liking to web-based control panels to manage their dedicated servers. While a control panel certainly has its benefits in some situations, there are still some areas of server management where there is no substitute for having shell access. SSH allows you to remotely connect to your server’s shell, providing […]

Useful Keyboard Shortcuts for Bash

When you manage a dedicated server, you will almost certainly spend a considerable amount of time working from the command line, probably via SSH. If so, you will encounter Bash or a shell similar to it. While you can accomplish pretty much anything with various commands, you can increase efficiency by learning some of the […]

List All Linux Commands with Compgen

A Linux dedicated server is all about commands. At some point, you will inevitably need to manage it from SSH (Secure Shell), which means you will be presented with a command line interface. While you may already know some commands, it is nice to see what the server offers as a whole. You can do […]

7 Reasons to Get a Dedicated Server in 2012

2011 came and went, and you still do not have a dedicated server. There are plenty of reasons why you might not be ready for one, and we have covered some of those reasons in previous posts. But inevitably, there are some of you out there who are ready to get a dedicated server, but […]

How to Suspend User Accounts in cPanel

In a previous post, you learned how to suspend a Linux user account on your dedicated server. Although this method is effective in shutting down users with shell access, it may not shut off any websites or other unique hosting features that they have. For that you will probably need to suspend their accounts […]

How to Send Live Messages to All Shell Users

In a previous post, we explained how to send a message of the day (MOTD) to all users whenever they log into your server’s shell. It is a perfect way to reach users when they log in, but it will not allow you to send new messages to users who are currently logged in. […]

How to Display the Message of the Day to Shell Users

A “Message of the Day” or MOTD is a statement, usually brief, that your users see when they login to your server via the shell. You can use it for any number of reasons, such as to announce a new server feature, remind users about your policies, display important network information, or even use the […]

Should Shared Hosting Customers Have SSH Access?

Over at The Hosting News, we asked the question, “Do you need SSH with shared hosting?” This is a common question among shared hosting users, particularly those who are more adept at technologly. Here at Server School, we focus on dedicated servers, so the question for you is different. Should shared hosting customers have […]

A Basic SSH Connection Guide

SSH (Secure Shell) is one of the most important tools on a dedicated server. It gives you remote access to your server’s command line, making it easy to take advantage of powerful tools only your server’s shell can offer. There are numerous ways to connect via SSH, since you can use it to tunnel other […]

Setting SSH Welcome Text

SSH is a powerful tool for Unix and Linux server users, giving them remote access to the system command line shell. If you run a dedicated server that hosts other websites or employs other system users with shell access, you may want to consider setting up a custom greeting message for your users.
A greeting […]

How to Setup an SSH Key

An SSH key is a highly encrypted code that allows you to connect from one server to another, without having to send the password over the network. Because it is encoded, there is less of a chance that hackers will be able to snatch your password and gain unlawful access to your server.
To begin […]