fixed nfs and smb commands.