command line options

GNU ‘gperf’ generates perfect hash functions. If a long option shows an argument as mandatory, then it is mandatory for the equivalent short option also. Use this tutorial for effective command-line processing in your C/C++ code: Command-line processing is historically one of the most ignored areas in software development. Just about any relatively complicated software […]

{ 2 comments }

I have already written about how to find and change your network interface speed (NIC), duplex or auto negotiate settings on Linux using ehttool command line options. However, these settings are not permanent. If you reboot the system or if you just need to upgrade/downgrade your port speed, run the ehtool command once your port […]

{ 38 comments }

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.

{ 4 comments }

This article was organically contributed by monk. HASH tables and PATH is not the first method locating your program / executable files. Your program can be a shell function or builtin command or an alias. Here is the complete sequence adopted by BASH shell to execute your command: Before a command is executed REDIRECTION is […]

{ 12 comments }

This article was organically contributed by monk. When you are logged in to a Linux server and you type a command. It is the responsibility of the shell to interpret your command. Here I will explain how BASH shell finds out which program to run. The method used by SHELL is straightforward but often creates […]

{ 7 comments }

Tar name come from Tape ARchiver. It is both a file format and the name of the program used to handle such file. Tar archive files have names ending in “.tar”. If an archive is compressed, the compression program adds its own suffix as usual, resulting in filename endings like “.tar.Z”, “.tar.gz”, and “.tar.bz2″. Tar […]

{ 21 comments }

In this quick post I will explain how to add and configuring a network card under FreeBSD operating system using command line options.

{ 10 comments }