Bash

Tutorials and information about the bash terminal in Linux.

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.

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.

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

 

The Following Steps can be applied to any Linux Desktop with Bash. This includes Gnome 2, Gnome 3, XFCE, KDE and Unity. This example I am using Ubuntu with the Unity desktop enviorment. If you need help on how to launch a terminal please visit the following links for your desktop.

When power windows users come over to Linux they are often looking for a command similar to ipconfig /all on Linux. Unfortantly I am not aware of a complete replacement one comamnad to occomplish this. You can use the ifconfig command to view your IP address or cat /etc/resulve to view DNS names.

Pages

Subscribe to RSS - Bash