Author: Surendra Anne

Online training on Linux Bash shell scripting

We are excited to announce our online training from this weekend. These trainings are in-person and online based through GoToMeeting software. The first training which is we are planning to give is “Bash shell scripting” for beginners. If you want to start coding for your system administration activities, then this course is for you. We will teach basics with some detailed explanation about each concept. Please find below curriculum on what we teach in this class. Please register for your self to join first two sessions for free of cost here: “Online shell scripting training” or fill below embedded form. Training Date and time: 10th Feb 2018, that is this Saturday and 8.30AM IST. Introductory Fee: $50. From next batch, the fee will be $100. Loading… About the trainer: Surendra Kumar Anne, Sr. Devops engineer. Content of course Basics of Unix/Linux (For nonsystem admins) History of Unix/Linux Flavors of Linux Linux Architecture Linux prompt and CLI Unix file systems(Directory structure) Shell scripting basics What is shell scripting? Why write a shell script? How to write shell scripts? Metadata in shell scripts Code in shell scripting Comments Executing shell script Debugging shell scripts Printing and Reading echo printf Read Redirection operators Input and output Redirection( <, > ) Input and output append redirection ( <<, >>) STDOUT/STDERR redirection(1, 2) /dev/null Variables and Arrays User-defined scalar variables or Strings System-defined scalar variables...

Read More

15 iostat command examples in Linux/Unix

The iostat command stands for input-output statistics. This command is used to generate input-output statistics for device, partitions the network file system, generate the report for Central Processing Unit (CPU). When the system booted, iostat command generates the first report. Each report follows the same time as the previous one. These report followed by the CPU statistics. When you consider a multi-processor system, the CPU statistics are calculated by average all processor. Each interval parameter takes to generate the report in seconds; we can specify ‘count’ parameter the junction point of each interval parameter. Before using the iostat command, you need to install Sysstat package. Sysstat package help to configure iostat command and you need to check the latest version of iostat are available on your system or not. Sysstat store different type of commands like 1) sar command 2) sadc 3) a1 4) sa2 5) iostat 6) mpstat etc. Syntax for iostat command $iostat <options> <device name> 1.Cpu and Device utilization statistics: In this article, if you only display the information about CPU usage, input-output statistics, then use the simple iostat command. The syntax is given below: $iostat Example 1: [[email protected] ~]$iostat Linux (fedori) 07/19/2016 _i686_ (1 CPU)   avg-cpu: %user %nice %system %iowait %steal %idle 6.38 9.74 10.47 1.86 0.00 71.55   Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 7.67 23.85 64.13 989350866 2659823200 sdc 0.00 0.00...

Read More

How to Installing and Configuring Firewalld on Linux

According to the official website of firewalld, “Firewalld provides a dynamically managed firewall with support for network/firewall zones that define the trust level of network connections or interfaces. It has support for IPv4, IPv6 firewall settings, ethernet bridges, and IP sets. There is a separation of runtime and permanent configuration options. It also provides an interface for services or applications to add firewall rules directly.”. So it’s a tool for managing firewall on Fedora/CentOS/RHEL/Debian/Ubuntu and many other famous Linux operating systems along with iptables. You can find more about firewalld at Let’s see how to use firewalld. Installing firewalld on CentOS/RHEL/Fedora: The firewalld program should install on CentOS/RHEL/Fedora systems by default. Installing firewalld on Ubuntu/Debian By default, firewalld program is not installed on Debian/Ubuntu based systems. But you can easily install it by running the following commands. [email protected]$ sudo apt-get update [email protected]$ sudo apt-get install firewalld The architecture of firewalld Program: The firewalld program has two parts. The daemon that runs in the background. The firewall-cmd command to add, modify, remove firewall rules. How firewalld works: The firewalld defines several zones, and each zone has its own interfaces and own rules. The firewall-cmd command can be used to add, modify, remove zones, interfaces from the zones, allow or deny ports for zones. Benefits of firewalld: The most significant advantage of firewalld is that firewalld daemon doesn’t have to...

Read More

Our supporters

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.


My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.