Shell Script Wrapper Examples: Enhance the Ping and Host Commands

Posted on in Categories Linux, Shell scripting, UNIX last updated January 31, 2016

Shell script wrappers can make the *nix command more transparent to the user. The most common shell scripts are simple wrappers around third party or system binaries. A wrapper is nothing but a shell script that includes a system command or utility.

Linux and Unix like operating system can run both 32bit and 64bit specific versions of applications. You can write a wrapper script that can select and execute correct version on a 32bit or 64bit hardware platform. In cluster environment and High-Performance computing environment you may find 100s of wrapper scripts written in Perl, Shell, and Python to get cluster usage, setting up shared storage, submitting and managing jobs, backups, troubleshooting, invokes commands with specified arguments, sending stdout to stdout and stderr to stderr and much more.

In this post, I will explains how to create a shell wrapper to enhance the basic troubleshooting tool such as ping and host.

FAQ Updates: June/11/2012

Posted on in Categories Sys admin last updated June 11, 2012

Our FAQ section has been updated. Here are latest howtos:

Make the most of nixCraft FAQ Section

Get intimated about our new howtos / faqs as soon as it is released via RSS feed.

Not our fan yet?

Follow us on twitter OR join our facebook fan page for more tips and news about Linux and open source.

HowTo: Wake Up Computers Using Linux Command [ Wake-on-LAN ( WOL ) ]

Posted on in Categories Debian Linux, Linux, Networking, Ubuntu Linux last updated April 3, 2012

Wake-on-LAN (WOL) is an Ethernet networking standard that allows a server to be turned on by a network message. You need to send ‘magic packets’ to wake-on-lan enabled ethernet adapters and motherboards, in order to switch on the called systems. Make sure you connect the NIC (eth0 or eth1) with the motherboard, and enable the WOL function in the BIOS. This is a quick guide to enable WOL under RHEL / Fedora / CentOS / Debian / Ubuntu Linux.

Download of The Day: Paint Program For Young Children [ Linux / Apple OS X / MS-Windows ]

Posted on in Categories Download of the day, Linux, Linux desktop last updated January 31, 2016

Tux Paint is a simple graphics educational painting programs for young children. It is free, Open Source software, distributed under the terms of the GNU General Public License. The program can be installed all all versions of Microsoft Windows, Apple OS X v10.3+, Linux, BeOS, Haiku, FreeBSD and NetBSD operating systems. It combines an easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who guides children as they use the program.

Linux or UNIX: HowTo Find Out or Display The Ethernet Address (MAC)

Posted on in Categories FreeBSD, Linux, Networking, OpenBSD, OS X, Solaris, UNIX, Windows server last updated March 31, 2012

Media Access Control (MAC) address is a unique identifier attached to most networking devices (such as router, Ethernet cards, servers, nas devices, switches and so on).

This blog posts demonstrates how to get the Media Access Control (MAC) address for an ethernet adapter under Linux, Unix, Apple OS X, and *BSD operating systems using command line options.