fmt and head commands