Browse Our Linux Archive :

Linux Basics: Creating, Moving, Renaming and Deleting Files & Directories

Ok it’s time for a new Linux Basics Commands tutorial! Today we’re going to see some basic commands that allows you to create, move or delete files and directories in a Linux shell. While some of you may prefer to use a GUI like Gnome, it’s always nice to learn this basic stuff. Sometimes you [...]

Read the full story

Posted in Linux, Tutorials

How To Change Your Linux Server’s Hostname

To change your server’s hostname manually on CentOS / RHEL is quite easy. Simply edit the file /etc/sysconfig/network with your favorite text editor and change the value of the HOSTNAME parameter to the new hostname. Your configuration file should look something like this: /etc/sysconfig/network NETWORKING=yes HOSTNAME=”newhostname.domainname.com” GATEWAY=”192.168.0.1″GATEWAYDEV=”eth0″ FORWARD_IPV4=”yes” You’ll also need to replace all occurencies [...]

Read the full story

Posted in Linux, Tutorials

Linux Basics: Scheduling Tasks Using Cron

There are times when you might need to automate the execution of some particular tasks on your web server. Some of these tasks could be maintenance tasks, backups, monitoring, etc. Just as with Microsoft Windows, Linux / Unix workstations and servers have the possibility to run shell commands periodically on a given schedule. The service [...]

Read the full story

Posted in Linux, Tutorials

Linux Basics: Understanding File Ownership And Permissions

While the basics of web hosting are not that complex, it’s important to know what you’re doing in order to keep your web server efficient and secure. As many web servers out there are running on Linux while most workstations are running on Windows, mastering Linux administration concepts can be confusing at first. Today we’re going [...]

Read the full story

Posted in Linux, Tutorials

Linux Basics: Where Are Those Hidden Files?

Unlike MS Windows’ file system (NTFS), hidding a file on Linux is not done by setting it’s hidden attribute: it’s done by setting its name. That’s right. File names that start by a “.” are automatically hidden. Here are a few examples of common hidden files on Linux systems: .htaccess .profile .bash_history To list all [...]

Read the full story

Posted in Linux, Tutorials

Find Out How Much Space A Directory Is Using On Linux / Unix

Sometimes it’s useful to be able to find out how much disk space a directory is taking. While there are some web interfaces or desktop applications that allows you to do that, it’s always useful to know how it can be done through a command shell. The DU Command To find out how much space [...]

Read the full story

Posted in Linux, Tutorials

How To Use “Screen” To Keep Session Alive Upon Network Failure

When you’re working remotely on a Linux server through SSH, you are at risk of losing important data if you encounter a network failure. Worst than that, you could even end up “breaking” your Linux box or locking yourself out. Think about a critical component installation interrupted by a network problem. That could mean disaster [...]

Read the full story

Posted in Linux, Tutorials

How To Prevent SSH Root Access

While this is a well know security measure, I still see so many Linux servers that allow root login through SSH that I thought I’d post it here. Before you make change to your Linux box, make sure that you’ve got a normal user account created otherwise you’ll lock yourself out unless you’ve got physical [...]

Read the full story

Posted in Linux, Tutorials
Page 2 of 3123
Webmaster Resources: Web Hosting Blog
© Copyright 2012 - TheWebHostingHero.com
Follow us on TwitterFacebookSubscribe to our RSS Feed