ar – create, modify, and extract from archives

The archiver, also known simply as ar, is a Unix utility that maintains groups of files as a
single archive file. Today, ar is generally used only to create and update static library files
that the link editor or linker uses and for generating .deb packages for the Debian family; it
can be used to create archives for any purpose, but has been largely replaced by tar for
purposes other than static libraries.[3] An implementation of ar is included as one of the GNU

$ar artest.a artest.txt
ar: two different operation options specified
$ar r artest.a artest.txt
ar: creating artest.a
$file artest.a
artest.a: current ar archive
$cat artest.a
artest.txt/ 0 0 0 644 36 `;
$cat artest.txt;


Single quotes in the shell session are used to hide certain things in wordpress post
They are not part of the real content.


%d bloggers like this: