RSSCategory: LINUX COMMANDS

Linux mpstat Command - Reports Processors Related Statistics

Generally today computer is using multiple processors. Or maybe 1 physical processor with 4 cores inside. On server side, more processors or cores means more power. But the other side, application also more power consumption. You may find a situation when your cpu utilization is high but you feel that you don't running anything. On […]

December 13, 2013 | By
| Reply More

Linux whoami command - Knowing Who is Logged In

Generally, on your console you will find a username is printed on the command prompt. But in some shell such as csh, by default you will not see your username there. So this command particularly is used with the shell which don’t print the username on their shell. How do I run whoami To run […]

December 12, 2013 | By
| Reply More

Linux dmesg Command to Print or Control the Kernel Ring Buffer

Sometime we underestimate the existence of logs. For system administrator logs is important. From log, we can analyze what cause an error. Linux has dmesg or Display Messages. Why we need to know about dmesg? Let’s start to explore it. What is dmesg dmesg is a command that print kernel messages into your screen. What […]

December 10, 2013 | By
| 2 Replies More

How to use Linux Netcat Command as Port Scanner

Hi linoxide readers! Today we will teach you how to perform port scanning with the TCP/IP Swiss Army Knife tool, netcat. What is Netcat? nc, also known as the TCP/IP swiss army knife is a feature rich network utility which can be used to read and write data to network connections using TCP or UDP. […]

December 10, 2013 | By
| Reply More

Linux w Command to See Who is Logged In And What Doing

As system Administrator, you must manage the users who logged in into your system. Allow them to do something, and restrict them do the rest. It’s a normal procedure for system Administrator. But you should not trust them 100% . People changed. Sometimes leak comes from inside, not from outside. To prevent that thing, you […]

December 10, 2013 | By
| Reply More

Linux cal and ncal Commands to Display Calender

Beside date command, Linux also has cal command to display calendar. As its name, cal just show you the calendar in many ways. There is also ncal command which have same function with cal. Let’s start. Run cal Cal is a built-in command which shipped in every Linux distribution. To run cal, just type cal […]

December 8, 2013 | By
| Reply More

Linux date command - Display and Set System Date and Time

Date on the operating system may only be considered as a timepiece. Especially on console mode, we do generally not see date as an important think. But for Administrator, this assumption is false. Do you know that a wrong date and time can make you can’t compile an application? Because date and time is important, […]

December 7, 2013 | By
| 3 Replies More

Using Password Aging to Secure your Linux Access

Security is playing important role in computer networks. Since you can’t trust anyone in the network, you have to protect your server. Sometime security hole comes not from outside, but from inside. One of the example is the validity of username and password. As an System Administrator, you may understand that you have to manage […]

December 6, 2013 | By
| 2 Replies More

Built in Audit Trail Tool - Last Command in Linux

If you are working as a server administrator, you may understand that you have to protect your server. Not only from the outside, but you have to protect it from the inside. Linux has one built-in command to see who is the last logged in user into your server. The command is last. This command […]

December 3, 2013 | By
| Reply More

How To Display And Set Hostname in Linux

With more and more computer connected to the network, computer need to have an attribute to make it different to each other. Same as human in the real world, computer also hava an attribute which named hostname. What is hostname From its manual page, hostname is used to display the system’s DNS name and to […]

December 1, 2013 | By
| Reply More

Unbelievable ! 30 Linux TOP Command Examples With Screenshots

The top command in Linux displays the running processes on the system. One of the most important tools for a system administrator. It is used extensively for monitoring the load on a server. In this article, we explore the top command in detail. The top command is an interactive command. Many commands are available when […]

November 28, 2013 | By
| 7 Replies More

Linux Uptime Command - Find How Long Your System Been Running

Information about how long the system has been running may not critical for some people. But for server administrators, it is critical. Servers which running mission critical application must be running as long as possible. Sometimes it must be zero-downtime. So, how can we know information about it? On Linux operating system, we can use […]

November 24, 2013 | By
| 1 Reply More

20 Linux Cat Command Examples For File Management

In Linux operating system most of configuration files, logs even shell scripts are in text file format. There is why we have numbers of text editors in Linux. When you just need to see the content of those files, you can use a simple command named cat. From cat manual page it says cat is […]

November 23, 2013 | By
| 2 Replies More

Linux diff Command Explained With Examples

When it comes to file comparison, GUI based software are mostly used. Very few people actually use a command line utility for this purpose. Though I won't say that using command line for file/directory comparison is as easy as a cake walk but if you are a Linux user then I think you should know […]

November 20, 2013 | By
| Reply More