GoboLinux DownloadsDocumentationCommunityRecipesPackagesScreenshots

Article | Discussion | Edit | History

IsExecutable

From GoboLinux Knowledge Base

Jump to: navigation, search

Returns 0 (success) if the file looks like a Linux executable (starting with a hash-bang magic or an ELF header), or 1 (failure) otherwise.

This helper is used by the FixAttributes script.


Scripts
Documentation

PackagesCompiling from source

Scripts

AddUserAttachProgramAugmentCommandNotFoundDatabaseCheckDependantsCheckDependenciesCleanModulesColorMakeCommandNotFoundCreateInitRDCreatePackageCreateRootlessEnvironmentDeduceNameDependenciesDescribeProgramDetachProgramDisableProgramFiboSandboxFilterColorsFilterLinesFindPackageFindQuickFixAttributesFixDirReferencesFixInfoGenBuildInformationGetAvailableGoboPathGrepQuickGrepReplaceGuessLatestGuessProgramCaseHasCompatiblePackageHashesinstallInstallPackageIsExecutableKillProcessLinkOrExpandAllListListProgramFilesMergeTreemkinitrd.plMultiGrepNamingConventionsNoRecipePrepareProgramPrioritiseUpdatesRemoveBrokenRemoveEmptyRemoveProgramRenameRescueInstallPackageRescueSymlinkProgramSandboxInstallScriptFunctionsSignProgramSuggestDuplicatesSuggestUpdatesSuperUserNameSymlinkProgramSystemFindSystemInfoUnionSandboxUpdateSettingsUpgradeSystemUseFlagsusleepVerifyProgramwhich

See also

CompileRootless

Personal tools