Forrest logo
back to the mkisofs tool

mkisofs:tldr:8b7ac

mkisofs: Create an ISO from a directory.
$ mkisofs -o ${filename-iso} ${path-to-source_directory}
try on your machine

The command mkisofs is used to create an ISO file. ISO files are disk image files that contain the entire contents of a CD or DVD.

Here's a breakdown of the command:

  • mkisofs: This is the command itself.

  • -o ${filename-iso}: This specifies the output file name for the ISO file. ${filename-iso} is a placeholder representing the desired output file name. It can be replaced with the actual name you want to use. Example: -o myiso.iso

  • ${path-to-source_directory}: This specifies the path to the source directory or the directory whose contents you want to include in the ISO file. ${path-to-source_directory} is a placeholder representing the actual path. It can be replaced with the path to your desired directory. Example: /path/to/source_directory

In summary, the command mkisofs -o ${filename-iso} ${path-to-source_directory} creates an ISO file with the specified output file name and includes the contents of the source directory in the ISO file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkisofs tool