Admin

How to Install Nginx on CentOS with Yum

How to Install Nginx on CentOS with Yum

Nginx is a popular lightweight alternative to Apache. Installing it with the yum package manager is simple: # yum update # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/x86_64/epel-release-5-4.noarch.rpm # yum install nginx Start Nginx: # /etc/init.d/nginx start Check if Nginx is running at: http://xx.xx.xx.xx – You should see a default Nginx page. Set Nginx to start automatically in case of reboot: [...]

 Admin

How to install LibreOffice (3.4.5 and 3.5.0) on Linux (Fedora, RHEL, CentOS)

How to install LibreOffice (3.4.5 and 3.5.0) on Linux (Fedora, RHEL, CentOS)

LibreOffice, no doubt a great office suite, doesn’t come pre-installed with major Linux distributions so here we are explaining how to install Libreoffice 3.4.5 or 3.5 on Fedora, CentOS and RHEL. Well you have a privilege of installing LibreOffice on Fedora 16 through command line. Following code can do the trick : yum install libreoffice [...]

 Admin

How To backup data with rsync under Linux

How To backup data with rsync under Linux

As a system administrator or just a backup-conscious home user, sooner or later (usually sooner) you will have to deal with backups. Disasters do happen, ranging from electrical storms to drive failures, and one needs to be prepared. We cannot stress enough the importance of having copies of important data. While the whole concept of [...]

 Admin

How to view contents of a file in Linux

How to view contents of a file in Linux

You can use any of the method given below to view contents of a file in Linux. Let us say the file name is “filename”. Then you can view its content… 1. using cat command user@internet:$ cat filename or user@internet:$ cat < filename 2. using head command user@internet:$ head filename 3. using tail command user@internet:$ tail filename 4. using pg command user@internet:$ pg filename 5. using more command user@internet:$ more [...]

 Admin

How to install Linux Mint’s Cinnamon Desktop on Ubuntu

How to install Linux Mint’s Cinnamon Desktop on Ubuntu

Recently Linux Mint’s developer team released Cinnamon for Linux Mint 13 which is the new desktop environment, it follows the layout of traditional desktops. If you want to try out Cinnamon but you don’t have Linux Mint installed on your system and you are using Ubuntu instead, then you can use the method given below to install [...]

 Admin

How to find the CPU information from terminal in Linux?

How to find the CPU information from terminal in Linux?

You can use lscpu command or can view the file /proc/cpuinfo to get the CPU information from terminal. Man page description of lscpu command: lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU family, model and stepping from sysfs and /proc/cpuinfo, and prints it in human-readable format. Alternatively, it [...]

 Admin

How to delete all files of a directory in Linux?

How to delete all files of a directory in Linux?

To delete all files of a directory in Linux there are 2 methods available. Suppose you want to delete all files of the directory dirname whose path is /home/usr/dirname then to delete all files of this directory you may use the 2 methods give below: Method 1: Use rm command $ rm /home/usr/dirname/* or $ cd /home/usr/dirname/ [...]

 Admin

How to install software in linux from source file (.zip, .tar.gz, .tar.bz2) ?

How to install software in linux from source file (.zip, .tar.gz, .tar.bz2) ?

Before getting your hands on it, here is a heads up, installing package from source is not the most preferred method. Few might find in a difficult method. It is recommended for experienced Linux users or those who have a thing for exploring more. Generally mostly used software are shipped with the OS and the [...]

 Admin

How to run a Linux Shell Script?

How to run a Linux Shell Script?

Have you ever wondered how you can run a script in Linux? Every script that needs to run should have a execute permission. By default it is refrained from such permission. One has to assign execute bit manually. In order to do so execute following command: #chmod +x SomeScriptFile OR #chmod 0755 SomeScriptFile ls command [...]

 Admin

How to find the partition of hard disk belonging to a specific file?

How to find the partition of hard disk belonging to a specific file?

How to check to which partition a particular file belongs? Following procedure will guide you to discover that partition on which a “file” resides. We do this with the help of df command. It is used get a report of space utilized on disk and also mentions files/directories. This command is used as follows: $ [...]

 Admin

How to automount partition in Linux

How to automount partition in Linux

Automount partition in linux like never before. Introducing a tool that can automount partition for you as soon as you boot up your linux box. One of the Linux Guru’s characteristics is to use command line for everything. One can accomplish anything when well versed with command line tips. After booting up a linux box, one [...]

 Admin

How to display a digital clock in Linux terminal?

How to display a digital clock in Linux terminal?

A clock is nothing special, we have tons of it but when it comes to linux the joy of accomplishing anything on command line is heavenly. In this document we are going to see how to display a digital clock in terminal (which updates). You can see the current data/time with Linux’s default command date. We will [...]

 Admin

View log files in real time

View log files in real time

Most of the log files in linux can be found in /var/log . You can go to this directory with cd command but root permission is required. cd /var/log To view the log files in real time: tail -f /path/toFile.log For example, to view the live version of yum log files execute tht following command: tail -f [...]

 Admin

Linux Command Line tips that every Linux user should know

Linux Command Line tips that every Linux user should know

Below is the collection of Linux command line tips which I’ve found useful for Linux users. To get more information about the command mentioned below just open your terminal and type man <command>. Things a Linux user must learn Learn bash: No need to refer a lengthy bash guide or something else. Just read the [...]

 Admin

How to read a CSV file in Perl?

How to read a CSV file in Perl?

Perl is used for manipulating text files and in this article I will teach how to read a CSV file in Perl? First of all let’s start with What is a CSV file? A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. As a result, such a file is easily [...]

 Admin

Android Tethering: Using Android to access internet on your Linux machine

Android Tethering: Using Android to access internet on your Linux machine

What is Android Tethering? Android Tethering is a way to access internet on your computer with the help of your Android smartphone. USB and Wi-Fi access point tethering is natively supported from Android Froyo 2.2.   USB tethering For USB tethering you must have root access to the phone and a USB cable to connect [...]

 Admin

How to Retrieve Password-protected Zip Files Using Linux

How to Retrieve Password-protected Zip Files Using Linux

How to Retrieve Password-protected Zip Files Using Linux: In case you or your friend has forgotten the password of your password-protected .zip file that may contain important documents, music, or non-porn movies, there is really no need to worry as there are plenty of password crackers (retriever) available out there. If you are using Linux, I [...]

 Admin

How to Download Rapidshare and Megaupload files from the Linux Terminal

How to Download Rapidshare and Megaupload files from the Linux Terminal

Today, I will sharewith you a way to quickly and efficiently download files from file-sharing websites such as Rapidshare and Megaupload also from the command line. To download any Rapidshare and Megaupload file from the Linux terminal, you will need to install an application called ‘plowshare’. You can get it from HERE. Before using plowshare, you should [...]

 Admin

How to Convert FLV (YouTube/Flash Videos) to MPEG in Linux

How to Convert FLV (YouTube/Flash Videos) to MPEG in Linux

Today, we will be showing you a very simple way to convert .flv (YouTube/Flash videos) to .mpg via the Linux terminal. This would be very helpful for those of you wanted to view those downloaded videos through your home DVD players since most of these players couldn’t read Flash videos. The software that we will use to [...]

 Admin

Download YouTube Videos from the Linux Terminal

Download YouTube Videos from the Linux Terminal

It’s always comforting to know that I can do a lot of important things inside the Linux terminal. Even those stuff that I normally do using a GUI like posting Twitter updates, downloading torrent files and Instant Messaging (IM). Today, let me show you how I was able to download a YouTube video from the Linux terminal. It’s really very [...]

 Admin

10 Unknown but Useful Linux Terminal Commands

10 Unknown but Useful Linux Terminal Commands

I’m going to show you several terminal commands that are perhaps unfamiliar to many new-to-Linux users but could be really handy when used properly. Here’s a list of 10 rather unknown yet useful Linux terminal commands: 1. Kill a running application by its name: killall [app_name] 2. Display disk space usage: df –h 3. Locate [...]

 Admin

Simple Ways to Conserve/Improve Linux Netbook Battery Power

Simple Ways to Conserve/Improve Linux Netbook Battery Power

For frequent travelers who just can’t live without having a computer with them, the netbook has become an essential device as it is extremely portable. However, its portability has sacrificed a few important features. –One of which is battery life. Netbooks are usually sold with 3-Cell Li-Ion battery that when fully charged can last up [...]

 Admin

Easy Way To Save Flash/YouTube Videos on Linux

Easy Way To Save Flash/YouTube Videos on Linux

Did you know that you can easily download flash videos like on YouTube without having to install any browser plugin or desktop application? Yes you can, and you will only need your Linux box minus the terminal or some magic commands. You can download Flash/YouTube Videos on Linux in 3 simple steps: Step-1. Open your web browser and go to the web [...]

 Admin

Install/Set-up Conky on Ubuntu

Install/Set-up Conky on Ubuntu

To Linux newbies who have seen that geeky looking desktop system monitor but don’t know what it is or how to get and install it, well it’s called Conky and you too can easily have it, and you don’t have to be a computer hacker to set it up. Here is a step-by-step guide on installing and configuring [...]