Crazy Linux

For more news, tips, and reviews on all things Linux, Open source and Free software

Archive for the ‘Linux Server Tutorial’ Category

When copying files and directories from thumb drive or usb drive, we always dealing with windows file. There is no problem if you are using Ubuntu desktop because you just right-click the file, copy and paste it in your Linux. In Ubuntu server we are working in the command line terminal. To copy a long file name with white space need some creativity.

Here are some tips on how to copy longer file name with white space from thumb drive/usb drive in Linux command line terminal:

Read the rest of this entry »

Add another admin in Ubuntu server

Aug-5-2009 By blinks

There are several reasons why we need extra admin user in Ubuntu server. One of the reason perhaps it’s an account for your boss. Yes, in several occasions, your boss needs root privilege to do whatever ‘his job’ that need to be done.

Well, whatever your reason is, here is how you can add another user in the admin group in Ubuntu server:

Read the rest of this entry »

If you are a Windows user before, there is no ver command in Linux that can be used to check the version of Ubuntu server.  In  Linux  or  Ubuntu  server specifically, there are many commands that can be used to check operating system version.

The first command that can be used to check Ubuntu server version is, as Ubuntu suggest, the lsb_release -a command. Here is the example:

Read the rest of this entry »

We can assign user to a group during adding a new user account. But how do we add existing user to a group? This tutorial is a guide on how to add user to a new group. The right Linux command for the job is the usermod command.

This is some information about Linux usermod command from manual page:
Read the rest of this entry »

This is a step by step guide on how to mount external hard drive in Linux for Ubuntu server beginner and Linux beginner in general. The guide includes error happened during the process to show how it to mount device in real situation.

Mount external hard drive in Ubuntu server

Read the rest of this entry »

The Linux shutdown command has several options that you can use to bring down the Linux system. In the previous post, we’ve seen how to reboot Ubuntu server with shutdown command. In this post,  we are going to use the Linux shutdown command again. This time is to power off the Ubuntu server.

There are several options available with shutdown command that can be used to power off Linux system. One example is -h option, which means to halt the system after it has been brought down. We can add other things such as a comment message when invoking shutdown -h command. As you can see from the example of Ubuntu restart post before, we have to specify a time argument after the shutdown option so the system know when to shutdown the system. Here are some examples on how to power off Ubuntu server using shutdown command with other things that you can do:

Read the rest of this entry »

Restart Ubuntu server

Mar-3-2009 By blinks

There are many commands that can be used to restart Ubuntu Server. We are going to look at some of them that I remember. The first one is the reboot command. In Linux reboot means restart. To use the reboot command, invoke reboot at the command line terminal. You must have root privilege, so add sudo before reboot.

Restart Ubuntu server with reboot command example:

Read the rest of this entry »

Change a hostname in Ubuntu server is very easy. From the command line terminal, type hostname newname. View the new hostname with hostname command. See the step by step example on how to change Ubuntu server hostname below:

Read the rest of this entry »

Ubuntu tail log tutorial

Feb-10-2009 By blinks

Sometimes we need to view just a part of a big Ubuntu file. For example. when we are going to locate error or check system activity in Ubuntu system log. Ubuntu command that can be used to check for latest log generated by the system is tail command. The tail command by default displays last 10 lines in the file.

Here is part of tail manual page that describes the usage:

Read the rest of this entry »

Ubuntu w3m web browser tutorial

Feb-1-2009 By blinks

Ubuntu server default web browser is w3m. You may already know that Ubuntu server didn’t come with x-window, that means no gnome or kde. So as you have guess, w3m is a text-based web browser. And when I said w3m is a default Ubuntu web browser, that means it’s already in the system when you finished installed Ubuntu server.
Other than being a web browser, w3m also capable of viewing a text file or a local html file. That means w3m can be a pager too such as less or more command. Let’s look at w3m syntax.

Syntax:
usage: w3m [options] [URL or filename]

Read the rest of this entry »