Terminal Commands

How to tutorials on using the Linux terminal to get task complete on your Linux system

The at command allows you to execute a command or a set of commands at a defined time. It is similar to a cron job except it is used for running the command or task just once.

In this tutorial we cover how to install and configure WordPress on a Ubuntu server. I will assume you already have Apache, MySQL, PHP (LAMP), and phpMyAdmin running on your Ubuntu machine.

In this tutorial we will look at how to change the hostname of your Ubuntu Linux system. The following steps will work both on the desktop and server platform.

 

How To Check What The Hostname is:


Open up a termnial or ssh into the machine that you want to check. Enter the following command.

Bind9 is used all across the internet for DNS. A survey shows that over 70% of DNS servers on the internet use Bind. In this tutorial we will setup a Bind9 DNS server for your home network with caching.

PhpMyAdmin is a great easy to use web admin interface for your mysql databases. The one down side is it can be a security threat. Seems like many bots on the internet just go looking for phpmyadmin installed on web servers. Then run automated attacks. 

If you have logwatch installed you may often see many failed attemtps.

 

In this tutorial we will have a quick look at the apachtop command. This is great for monitoring your webserver in a terminal or while SSHed into your system. 

 

 

What is ApacheTop:


 

It is defined as a Realtime Apache monitoring tool. It basically watches your log files in realtime and displays the output. This can be real handy for trouble shooting as well as keeping an eye on what files are being accesses at that time.

 

 

In this tutorial we walk through setting up two users with sudo access. The first example we will just add a single user. In the second example we will create a group, configure the group sudo permissions and then add the user to the group. The second method allows us to scale quickly for new users that will need sudo access.

In this tutorial we will cover how to add a new user on ubuntu with the command line. The following commands will work on a desktop system as well as a server. The commands can also be applied on most other Linux distributions as well.

With Gimp 2.7.3 you can now enable single window mode. This allows new users that are use to Adobe Photoshop feel at home. In this tutorial we will install the newest release of GIMP in Arch Linux with two quick commands. Let's Get started!

You can shutdown or restart your desktop or server with a simple command in bash. It could come in very handy if you ssh into your server or desktop. In this example I a doing it in on Arch Linux with a sudo user. The same commands can be applied in just about any linux distribution such as Ubuntu. You often have to issue the commands as the root user or with sudo in front of the command. (Example: sudo shutdown -r now)

Open up a terminal window

To restart your computer right away type in sudo shutdown -r now

 

Pages

Subscribe to RSS - Terminal Commands