ODOC: adjtimex

adjtimex – Display/Set the kernel time variables.


This program gives you raw access to the kernel time variables, like clock tick, frequency, offset, PPL Time constant, etc.


$ adjtimex -p — Print current kernel time values.

# adjtimex -w — Provide time details and ask the user to approximate the accuracy.

# adjtimex -c — Periodically (10Sec) compare the system clock with the CMOS clock values and give suggestions.

# adjtimex -t 100001 — Set the no of mSec that should be added to the system time for each kernel tick interrupt.

# adjtimex -f -408033 — Set the system clock frequency offset.

Read: man adjtimex
adjtimex, linux, gnu/linux, odoc

in ODOC | 108 Words

ODOC: bzip2

bzip2 — A Block-sorting file (de)compressor.


bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. Compression is generally considerably better than the conventional compressors, & approaches the performance of the PPM family of statistical compressors.


$ bzip2 myfile — Compress & Save it in myfile.bz2. Delete the input file.

$ bzip2 -k myfile — Same as above. But Don’t delete the input file.

$ bzip2 -d myfile.bz2 — Decompress & Save it in myfile. Delete the input file.

$ bzip2 -kd myfile.bz2 — Same as above. But don’t delete the input file.

$ bzip2 -fd myfile.bz2 — Force overwrite of output files (by default not overwrite existing files).

$ bzip2 -t myfile.bz2 — Check the integrity of the compressed file.

$ bzip2 -v myfile — Show the detail status info about the operation.

$ bzip2 -q myfile — Suppress non-essential warning messages.

$ tar -cjvf myfile.tar.bz2 mydir — BZip2 thru TAR command.

$ tar -xjvf myfile.tar.bz2 — BUnZip2 thru TAR command.

Read: man bzip2
odoc, bzip2, linux, gnu/linux

in ODOC | 173 Words

ODOC: unzip

unzip — List, Test & Extract compressed ZIP files.


unzip will list, test, or extract files from a ZIP archive. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive.


$ unzip myfile.zip — Unzip the myfile.zip

$ unzip -t myfile.zip — Test correctness of the file.

$ unzip myfile *.txt — Unzip only *.txt files

$ unzip myfile *.txt *.sxi *.tex — Unzip only *.txt, *.sxi and *.tex files

$ unzip myfile -d /tmp — Unzip the files in /tmp Dir.

$ unzip -f myfile — Unzip files which are newer then current Dir files.

$ unzip -o myfile — Unzip and overwrite existing files without prompting.

Read: man unzip (Lot of examples are available)
unzip, zip, odoc, linux, gnu/linux

in ODOC | 133 Words