Linux Commands Examples

A great documentation place for Linux commands


Compares two files using mtools

see also : mtools - cmp - mcopy


mcomp file-on-floppy local-file

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


ls ${_comp_dir}
function _mcomp {
local curw
COMPREPLY=($(compgen -W '`_mlist`' -- $curw))
complete -F _mcomp m
alias mstart='last_fm_scrobble_on_mplayer_played_50'
function mend(){
killall last_fm_scrobble_on_mplayer_played_50 last_fm_scrobble_on_mplayer_played_50_with_info


mcomp compares two files, the first one must be on a floppy disk so it can be accesed via mtools. It is not strictly necessary on Debian GNU/Linux, because the diffutils cmp(1) program provides the same capability after copying the file locally with

mcopy file destination

but this utility is provided in the mtools package for other platforms and is retained here for completeness.

see also

mtools , cmp , mcopy


Luis Bustamante <luferbu[:at:]fluidsignal[:dot:]com> wrote this page for the Debian/GNU mtools package.

How can this site be more helpful to YOU ?

give  feedback