script — Record the user’s activities on a terminal.

Dennis Ritchie, Core developer of Unix OS and Creator of C Language.
URL: http://www.cs.bell-labs.com/who/dmr/index.html

One Day One Command
===================

script — Record the user’s activities on a terminal.

Summary:

Script makes a typescript/record of everything printed on your
terminal. It is useful for anyone, who need a hard copy record of an
interactive session as proof, and the typescript text file can be
printed.

Press Ctrl+D/exit/logout to Stop the Script Program.

Read more

halt — Stop the System.

Prof. Douglas Comer, author of the Network & OS Books and Creator
of Xinu OS. URL: http://www.cs.purdue.edu/people/comer

One Day One Command
===================

halt — Stop the System.

Summary:

Halt notes that the system is being brought down in the /var/log/wtmp,
file and then either tells the kernel to halt, reboot or poweroff the
system. Halt invoke shutdown, if the system is not in runlevel 0 or 6.

Read more

hdparm — Get/Set Hard Disk Parameters.

Richard W Stevens author of UNIX Networking Programming and
TCP/IP Illustrated Book series. URL: http://www.kohala.com/

One Day One Command
===================

hdparm — Get/Set Hard Disk Parameters.

Summary:

hdparm provides a command line interface to various hard disk ioctls
supported by the stock Linux ATA/IDE device driver subsystem.

You *MUST* read the man page completely, if you want to do anything
else, apart from this examples.

Read more

lsof — List Open Files

Edsger Wybe Dijkstra (EWD) was one of the most influential members of
computing science’s founding generation and he honored by ACM Turing
Award. URL: http://www.cs.utexas.edu/users/EWD/

One Day One Command
===================

lsof — LiSt Open Files.

Summary:

lsof lists all open files belonging to all active processes. An open
file may be a regular file, a Dir, a special file, an executing text
reference, a library, a stream or a network file (Internet socket, NFS
file or UNIX domain socket).          

Read more

strace — Trace System Calls and Signals

RMS (Richard M Stallman) Founder of GNU Projects and Free Software
Foundation (FSF). URL: http://www.stallman.org/

One Day One Command
===================

strace — Trace System Calls and Signals.

Summary:

In the simplest case strace runs the specified command until it exits.
It intercepts and records the system calls which are called by a
process and the signals which are received by a process.  The name of
each system call, its arguments and its return value are printed.
strace is a useful diagnostic, instructional, and debugging tool.

Read more

ltrace — Library call TRACEr

Linux From Scratch (LFS) is a project that provides you with
step-by-step instructions for building your own GNU/Linux OS
from source code. URL: http://www.linuxfromscratch.org/

One Day One Command
===================

ltrace — Library call TRACEr

Summary:

ltrace is a program that simply runs the specified command until it
exits and intercepts & records the library/system calls, which are
called by the executed process, and the signals, which are received by
that process. It can used study the internal flow of a program.

Read more

gcc — GNU C Compiler

Linux From Scratch (LFS) is a project that provides you with
step-by-step instructions for building your own GNU/Linux OS
from source code. URL: http://www.linuxfromscratch.org/

One Day One Command
===================

gcc — GNU C Compiler

Summary:

Several versions of the compiler (C, C++, Objective-C, Ada, Fortran,
and Java) are integrated; this is why we use the name “GNU Compiler
Collection”. GCC can compile programs written in any of these above
languages.

This C program is used in the examples.

#define DISPLAY “Hello Worldn”
main()
{
 #ifdef MACRO
   printf(DISPLAY);
 #else
   printf(“No Macron”);
 #endif
}

Read more

dd — Convert and Copy Files

The Free Software Foundations are proud to announce the creation of
the global “GPL Version 3 Development and Publicity Project”. This
activity is supported by no. of organizations.
URL: http://www.gnu.org/

One Day One Command
===================

dd — Convert and copy a file.

Summary:

‘dd’ copies and optionally converts data with changeable I/O block
size. Reads are issued to the input file or device for the size of
the input buffer and writes are issued for the size of the output
buffer. This allows I/O requests to be tailored to the requirements of
a task. Output to standard error reports the number of full and short
blocks read and written.

Read more

Crontab Tutorial

Crontab Tutorial * What is a Crontab? A cron is a utility that allows tasks to automatically run in the background at regular intervals by use of the cron daemon. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at what times they are to be run.This … Read more