Category : "Linux"

10 basic examples of Linux ps command

Linux ps command The ps command on linux is one of the most basic commands for viewing the processes running on the system. It provides a snapshot of the current processes along with detailed information like user id, cpu usage, memory usage, command name etc. It does not display data in real time like top or htop commands. But even though ...

10 basic examples of linux netstat command

Netstat Netstat is a command line utility that can be used to list out all the network (socket) connections on a system. It lists out all the tcp, udp socket connections and the unix socket connections. Apart from connected sockets it can also list listening sockets that are waiting for incoming connections. So by verifying an open port 80 you can ...

Install Nginx + Php FPM + APC on CentOS 6.4

LEMP server A lemp server runs Nginx web server along with Php and Mysql or MariaDB on a Linux system. Nginx is increasing becoming popular because of its lightweight structure and ability to handle large amounts of traffic in an optimum manner. Mariadb is the replacement for mysql because mysql is not very free anymore. In this tutorial we shall be ...

5 commands to check memory usage on Linux

Memory Usage On linux, there are commands for almost everything, because the gui might not be always available. When working on servers only shell access is available and everything has to be done from these commands. So today we shall be checking the commands that can be used to check memory usage on a linux system. Memory include RAM and swap. It ...

Open http port ( 80 ) in iptables on CentOS

Iptables firewall I was recently setting up a web server on centos with nginx and php. The installation of nginx was fine, but the http port of the system was not accessible from outside. This is because centOS by default has some iptables firewall rules in effect. Only the ssh port (22) was accessible and remote shell worked. So its necessary ...

Monitor disk io on linux server with iotop and cron

Iotop - Disk Input Output usage Recently my server was giving notifications of disk io activity rising above a certain threshold at regular intervals. My first guess was that some cronjob task was causing that. So I tried to check various cron tasks to find out which task or process was causing the io burst. On servers specially its always a ...

Install the Pantheon desktop on Ubuntu

Pantheon desktop environment Pantheon is a new desktop environment that comes with elementary OS. It has a mac like look and feel and has been designed very well. It looks superb specially on laptops and can give you a cool looking desktop that you want to show off. It can be installed on Ubuntu if you want to get the elementary OS ...

Linux mail command examples – send mails from command line

Send mails from command-line Being able to send emails from command-line from a server is quite useful when you need to generate emails programatically from shell scripts or web applications for example. This tutorial explains, how to use to the mail command on linux to send mails from the command-line using the mail command. How the mail command works For those who are curious ...

25 simple examples of Linux find command

Linux find command The Linux find command is a very useful and handy command to search for files from the command line. It can be used to find files based on various search criterias like permissions, user ownership, modification date/time, size etc. In this post we shall learn to use the find command along with various options that it supports. The ...

5 Linux commands to shutdown and reboot the system

Linux shutdown / reboot command On Linux, like all tasks, the shutdown and restart operations can also be done from the command line. The commands are shutdown, halt, poweroff, reboot and REISUB keystrokes. In this post I am going to show you how to shutdown or restart a linux system using these commands. The commands are useful specially when you have to ...



Connect with us